- Home /
does shader tag rendertype=opaque means that z-buffer is used?
if i use forward rendering, sort my planes by depth and draw them with rendertype=opaque tag, does unity use z-buffer for rendering?
can i see it somehow?
Comment
Answer by tanoshimi · Oct 24, 2014 at 09:16 AM
In Forward rendering mode, you can tell a camera to explicitly render the depth buffer (for a slight performance cost) by setting the Camera.depthTextureMode.