I’m trying to create a neon / lightsaber / LED kinda effect.
I’ve been experimenting with the self illuminated shader to create the glow but it doesn’t look very good… (to clarify: by ‘glow’ i don’t mean any outer-glow bloom effect or such, i mean the model’s own brightness due to its self illumination)
Any hints as to how to do this? Or if you already have good working shader for this kind of effect, would you care to paste your code?
depending on what kind of min requirement you want for this effect, there are different approaches.
I personally prefer the simple yet still well working one: using multiple cylinders, all with an additive color blending material. That way they “burn up” the color at the center line while it fades at the outer end, just as a light saber would.
With shaders you could basically use a a full bright color and use a gradient and then just modify the pixels with the gradient according the view direction.
I don’t have such a shader but I should be pretty straight forward to create it.
Thanks for your input.
It probably is straightforward - for the shader savvy. I’m quite new to shaders though and have absolutely no clue how they work…
Would you mind spending a minute to code it up for me? I’d highly appreciate that.
I’ve attached something along those lines (you can add more cylinders if necessary). One thing to note is that this effect is greatly enhanced by putting a bright light on the glowing object so that it illuminates its surroundings convincingly.
237076–8483–$lightsabre_136.unitypackage (2.52 KB)
The package seems to only contain 3 cylinders. I don’t see any materials or any special effects at all…
Maybe I made a mistake with the export…
Anyway, there were originally two materials called InnerGlow and OuterGlow. Both were just the Particles/Additive shader, but the inner one was almost white while the outer one was a bright green. If you create materials like that and use the inner one only for the innermost cylinder, you should see the effect.
Heheh… nice Sig. From WATCHMEN? 
Your mind goes to dark places and you wonder why I keep the worst from you… 
Lolz…LED effect…may be he meant The Halo effects!!!