Hi there,
I’m having a bit of an issue where one of my shaders seems to turn out black when i build it to the device.
Any ideas as to what might be causing this? Here’s the shader.
Shader "Pete/Solid Transparent Color" {
Properties {
_Color ("Solid Color (A = Opacity)", Color) = (0,0,0,1)
}
Subshader {
Tags {Queue = Transparent}
ZWrite on
Blend SrcAlpha OneMinusSrcAlpha
Color [_Color]
Pass {}
}
}
That does look pretty wrong now that I look at it , I changed though it and it still appears black in the build.
I’m now thinking it might be something to do with the trail render it is applied to.