- Home /
Answer by syclamoth · Jan 26, 2012 at 01:02 AM
Well, the material needs to use a shader that supports transparency, but given that you can use
originalColour = renderer.material.color;
renderer.material.color = new Color(originalColour.r, originalColour.g, originalColour.b, newAlpha);
"$$anonymous$$aterial doesn't have a color property '_Color'"
the problem was the shader... not the render changing the shader fix the issue
thanks anyway