I’m using the new Unity 2D sprite functionality, it seems that in doing so, none of the sprites write any values to the zbuffer. Is there a simple way to enable zwrite?
Additionally, is there any way to find the source for say the shader behind the Sprites-Default shader?
Hi! i am trying the same thing in Unity 5.1.3. Did exactly what you described, but the sprite is still not writing into z-buffer. I need it for DOF effect to work on my sprites in the scene... someone got such problems as well?
thanks guy!! it helped me!!
– renfeiHi! i am trying the same thing in Unity 5.1.3. Did exactly what you described, but the sprite is still not writing into z-buffer. I need it for DOF effect to work on my sprites in the scene... someone got such problems as well?
– LUPShow