c# - Render world space canvas first -
i have canvas (in world space/3d) not showing camera due shader applied (sphere) object.
shader "custom/textureholdercustom" { properties { _maintex ("albedo (rgb)", 2d) = "white" {} _mask ("mask texture", 2d) = "white" {} } subshader { tags{"queue" = "transparent"} cull off lighting on zwrite on blend srcalpha oneminussrcalpha pass { settexture[_mask]{combine texture} settexture[_maintex]{combine texture,previous} } } fallback "diffuse" }
sphere object above shader attached showing first canvas not showing. want show canvas first. think attach above shader canvas not possible apply m
i 0 in shader programming
Comments
Post a Comment