Page 1 of 1

Making a scenenode unaffected by lights?

Posted: Sun Jun 07, 2015 10:59 am
by UncleBob
I'm having some scenenodes in my scenes that are actually part of the interface, not real objects. They have an emissive color, but now that I added a lightsource they start reflecting its light, which I don't want to happen. They should not look like actually existing objects in the scene. I tried to mess around with the lighting flag (kills the emissive color), shininess (only changes the "sharpness" of the reflection, but doesn't do away with it if deactivated) and diffuse color (doesn't seem to do a thing... although the node doesn't have a texture). How do I get the result that I want (node just having its emissive color and doesn't reflect any other light whatsoever)?

Re: Making a scenenode unaffected by lights?

Posted: Sun Jun 07, 2015 2:13 pm
by hendu
Disable lighting, and pass your color in a shader/in its vertices.

Re: Making a scenenode unaffected by lights?

Posted: Sun Jun 07, 2015 6:05 pm
by UncleBob
Of course, vertex color. Completely forgott that was around too :lol:

Thanks, worked like a charm!