- Home /
Need help with this Shader; camera Solid color is being rendered on skybox.
http://i.imgur.com/bDCorP4.gifv
I have this triangular flag texture with transparency around it being applied to a quad. The issue is camera Solid color(Blue in the gif) is being rendered on skybox where Texture is transparent.
Also, When I move camera from Flag, at certain distances, blue color(camera solid color) hides behind red Cube which is using standard shader.
Shader:http://pastebin.com/yvDGGTzZ
Using Unity 5.2.4, Shader is default template for Unlit shader with few tags and Commands
Turning ZWrite Off makes flag render above Red Cube but hides behind default skybox.
ZWrite Off solves above issue. One things thats bothering me is I have transparent Queue tagged but it is rendered behind skybox for some reason when I make Zwrite Off. It also hides behind Standard Shader Cube if i Turn ZWrite Off.
Repost from: http://forum.unity3d.com/threads/need-help-with-this-shader-camera-solid-color-is-being-rendered-on-skybox.394692/
Are you using deferred rendering? Because transparency isn't technically supported.