Game Development Community

OpenGL lighting with interiors and terrain

by Stephen McCloskey · in Torque Game Engine · 04/15/2003 (12:04 am) · 4 replies

I am messing around with OpenGL lighting by creating a custom light object similar to the sun object. I can place the object in my levels and I am seeing my models lit up just fine. However, I can't get OpenGL lighting to light up the terrain or interiors. It looks like OpenGL lighting is just not turned on when these are rendered. I have tried a lot of different things, but so far I have been unsuccessful. Does anyone know how to enable OpenGL lighting for interiors and terrain?

Thanks

#1
04/15/2003 (12:30 am)
Search for Melv's fxLight resource. I know that lights up the terrain and interiors.
#2
04/15/2003 (3:20 am)
Isn't fxLight in HEAD already?
#3
04/15/2003 (5:48 am)
There's a setting for vertex lighting in the display properties, I believe. That switches from lightmaps to 'OpenGL lighting'
#4
04/16/2003 (5:38 pm)
interiors and terrain is not lit by opengl lighting. They're lit by light maps or vertex color maps. They're pre-lit before the game starts, and completely static, so good luck...