View Full Version : Dark textures in a dark scene

11-30-2002, 03:25 AM
I working on a night scene, any tips on displaying darks looking objects with a dark backgound?

11-30-2002, 05:52 AM
Have you thought of using lightmaps? You can get much out of it.

11-30-2002, 06:33 AM
Just a, perhaps stupid, idea I got. Use blending and the blend color to control the darkness. Use glBlendColor to set the darkness factor, and set blend function to GL_CONSTANT_COLOR and GL_ZERO. Yes, involves blending, but shouldn't hur performance very much since there's no frame buffer readback.

Perhaps not a very good solution if you don't need to change the darkness factor over time.