I have a cone of light that I want to use for a lighthouse:
Using alpha channels with a grey to white gradient shape in the alpha channel. I am using photoshop to create rgb texture with a alpha channel and saving as a targa file.
I attempting changing the shader in Unity to transparent/cutout/diffuse but that proved unfruitful.
I want the rotating cone to start as visible and fade to invisible.
You don't want to use cutoff, just use the regular transparent/diffuse. Cutoff literally clears any pixels with an alpha below a certain threshold. Using the regular transparent. The pixels are alpha-blended to be laid over the current image.
Black is entire invisible. Gray will be somewhere in between, and white will be entirely visible. Also make sure that you imported the texture into Unity as a type that includes an alpha channel.
Not working for me (on Unity 4.3.0f4) -- the entire model is semi-transparent, X-ray style. White is 50% opaque. It's as though the alpha channel has been halved in intensity.
I ended up using the material particle/alpha blended for the light cone and that gave me the desired effect although I not sure if it was the right approach
Black is entire invisible. Gray will be somewhere in between, and white will be entirely visible. Also make sure that you imported the texture into Unity as a type that includes an alpha channel.
– Peter_GNot working for me (on Unity 4.3.0f4) -- the entire model is semi-transparent, X-ray style. White is 50% opaque. It's as though the alpha channel has been halved in intensity.
– Strontium