Hi There! I am trying to make my object slowly fade in, but I find that when I set the alpha value of the material to 1.0f(which, according to documentation should be fully opaque) it’s still transparent:
alpha=1.0f;
transform.renderer.material.color = newColor(1,1,1,alpha);
But when I do:
alpha=100.0f;
transform.renderer.material.color = newColor(1,1,1,alpha);
alpha=100.0f is enough to turn it opaque. I don’t understand - how is this possible? I’m using the transparent/bumped diffuse shader.
Please help