Hello, please excuse my dumb question, but I don’t speak shader language very well. I need a highlight effect which “illuminates” the object when active. Any ideas on how to do that? Thanks
Do you mean you want the entire object to brighten when it’s selected, or that you want an outline to appear around the object? You can brighten the Tint Color for the first option or use the toon shader for the second.
Thanks for the input. I want the whole object to illuminate, but there is my problem. Some objects use a shader(custom) that has no Color property that I can change and the rest even if they have a Color it’s RBG is already at max. I have a light source in my scene. Is it possible to make the highlighted object reflect more light from the light source when highlighted? Thanks
I usually make RGB 128,128,128 standard lighting. If you do that then you can brighten selected objects to 255,255,255 using:
renderer.material.SetColor ("_TintColor", Color);