Project

General

Profile

« Previous | Next » 

Revision f25548d6

Added by skyjake almost 10 years ago

Fixed|Renderer: Z-buffering of sky models

3D models won't look right without Z buffering, however they must not
interfere with world geometry. This commit enables Z buffering for
sky models and clears the depth buffer afterwards.

Excessive clears of the depth buffer could be avoided by using a
separate depth buffer for the sky, however the sky stencil should be
drawn there as well. This could be a topic for a future refactoring.

IssueID #1922

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences