mmakrzem
01-08-2007, 05:38 PM
In a lot of 1st person shooter games now, the player has the ability to turn on and off a flashlight that is used to illuminate the scene (ie F.E.A.R or Half-Life 2)
I was wondering how to implement this in the game engine. I tried assigning a spot light source to my player but the resolution of the objects in my scene must be really high for the flashlight to look circular. The light sources in OpenGL are only vertex (not pixel) based so this doesn't work very well.
Any help would be greatly appreciated.
I was wondering how to implement this in the game engine. I tried assigning a spot light source to my player but the resolution of the objects in my scene must be really high for the flashlight to look circular. The light sources in OpenGL are only vertex (not pixel) based so this doesn't work very well.
Any help would be greatly appreciated.