• Advertisement

Archived

This topic is now archived and is closed to further replies.

Color and lighting

This topic is 6210 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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...

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement