Z-Buffer Clear on Renderpass?
Posted: Sun Feb 14, 2010 12:15 am
hi,
i noticed that the zbuffer is not cleared after a renderpass, independent of the used ClearScreenMode. could we have a setting for that?
i'm trying to render a scene with large differences in size (far away planets and close small things on the surface of one planet), and i tried to achieve this with two renderpasses (a first pass with large values for the near & far clipping plane, a second pass with smaller values). sometimes the large objects intersect the small ones even though they are rendered in different passes.
i noticed that the zbuffer is not cleared after a renderpass, independent of the used ClearScreenMode. could we have a setting for that?
i'm trying to render a scene with large differences in size (far away planets and close small things on the surface of one planet), and i tried to achieve this with two renderpasses (a first pass with large values for the near & far clipping plane, a second pass with smaller values). sometimes the large objects intersect the small ones even though they are rendered in different passes.