dim3 Forum

Full Version: Eternally lit textures
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, is there any way that you can make an object ,like for example scenery made in animator be always lit/visible regardless if there is a light nearby or not?
If it's the whole object, you can use the DIM3_MODEL_LIT_HILITE lighting type.
Code:
obj.model.lit=DIM3_MODEL_LIT_HILITE;
You might also have to set the correct color
Code:
obj.model.hilitColor.red=1.0;
obj.model.hilitColor.green=1.0;
obj.model.hilitColor.blue=1.0;
though white might be the default. I'm not sure.
If it's just one part of a model, or a scenery object, use a glow map.
Or even more easily, just set the mesh to ignore lighting. Smile
Thanks for the answers.
Reference URL's