- Home /
Shader with glow effect and gradient material
Hi
I am developing an android game for uni. I want to create a circular object with a gradient texture from semi transparent (50%) to 0% transparent. But want it to be very low on draw calls etc. Can this be achieved using a texture on an object alone with maybe a baked light source at the base. It doesnt need to be animated just static would be great!
Im not sure where to begin. Any help would be great.
Cheers
Nick
Surely you could create the texture with all colour and alpha information, then use that texture for the emission and alpha channels of the material, with semi-transparency enabled.
Answer by Girish-sruthkia · Feb 01, 2016 at 12:50 PM
Download shadow gun sample project provided by madfinger games, which has few bunch of very well optimized shaders. There is aslo similar shader which gives you the same effect which you are expecting.
http://blogs.unity3d.com/2012/03/23/shadowgun-optimizing-for-mobile-sample-level/
Your answer
Follow this Question
Related Questions
Pinball playfield lighting 1 Answer
How can I prevent lights overlapping in intensity? 1 Answer
Double sided shader lighting problem? 1 Answer
Light based texture change on material 0 Answers