Advertisement

Color and lighting

Started by February 17, 2001 02:57 AM
1 comment, last by Ineluki6 23 years, 9 months ago
For some reason, when I enable lighting all colors disappear. Why might this happen? I''m not using textures or blending or anything. When lighting is disabled, everything looks fine.
If you are using D3D you should have the vertex normals and materials defined so that the D3D is able to do all the lighting stuff...

Advertisement
In opengl, you may have your lights turned on to full intensity. Make sure that you have set the light''s position, its ambient/diffuse/color and brightness (same as color) and then see if this helps.

Also make sure that the light is actually enabled.

- Wav

This topic is closed to new replies.

Advertisement