- Home /
Glowing objects
How to make single object glow? Like glowstick? I was trying to use Bloom/Glow Unity PRO effects but they doesn't work as i want, because there are objects that i don't want to glow (including player model) and i don't want to change their material color. Changing alpha mask doesn't help.
For a stick You can use halo effact and put them side by side and disable the mash render of the object you created
It won't look good at all and i don't want to hide mesh, i just want something like that.
http://www.asia.ru/images/target/img/product/10/87/65/10876537.jpg
Answer by HarshadK · Dec 05, 2014 at 11:36 AM
You can add a Glow Shader to your object which you want to glow. Of course there are other glow shaders present that you can use or write your own.
It gives me this error:
Assets/glowx.cs(1,28): error CS0246: The type or namespace name `FShader' could not be found. Are you missing a using directive or an assembly reference?
Ok never$$anonymous$$d, i found this Futile package, but now this Glow script gives me other errors:
Assets/glowx.cs(4,17): error CS0246: The type or namespace name Color' could not be found. Are you missing a using directive or an assembly reference? Assets/glowx.cs(13,36): error CS0246: The type or namespace name
$$anonymous$$aterial' could not be found. Are you missing a using directive or an assembly reference?
It's not $$anonymous$$e, it's the one you've linked. https://gist.github.com/jpsarda/8069612
I've added "using UnityEngine; using System.Collections;" but now i have other errors too...
The class name for the script is FGlowShader in that script. So either you have to name your script file to FGlowShader or change the name of the class to glowx.
Also what are other errors you are getting?
Your answer
Follow this Question
Related Questions
Glow Effect 3 Answers
How to make a glowing line renderer? 0 Answers
Bloom/HDR glow effect not working on sm-t210r 0 Answers
Glow-like effects and WebCamTextures 0 Answers
Bloom Overlapping Black 1 Answer