Making a scenenode unaffected by lights?
Making a scenenode unaffected by lights?
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?
Disable lighting, and pass your color in a shader/in its vertices.
Re: Making a scenenode unaffected by lights?
Of course, vertex color. Completely forgott that was around too
Thanks, worked like a charm!
Thanks, worked like a charm!