helmut.bressler Posted November 11, 2014 Posted November 11, 2014 Hello, I'm working on a grass solution which is based on a fur shader. At high screen resolutions the performance gets very bad, because each pixel has to be rendered several times with alpha blending enabled. Therefore I would like to use the Downsize option from the material and set it to either 'always scale' or 'always filter'. However the downsized material doesn't use the main depth buffer, it seems that the downscaled image is just blended into the scene. Is there any way to give the downsized material access to the main depth buffer? Thank you very much! Cheers, Helmut
unclebob Posted November 12, 2014 Posted November 12, 2014 Hello Helmut, In case of downscale rendering you have to handle depth by yourself reading deferred_depth in the shader.
helmut.bressler Posted November 18, 2014 Author Posted November 18, 2014 Thank you very much, I think I have got it working! cheers Helmut
Recommended Posts