Color and non-lighting

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
d4nm4n
Posts: 33
Joined: Fri Oct 09, 2009 11:28 pm

Color and non-lighting

Post by d4nm4n »

How do you make a scenenode fullbright (lighting,false) but also be affected by material color values?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can't. If lighting is off, you get vertex colors modulated with textures. There's no way to access the material colors, which only affect the incoming light.
Post Reply