Hi everybody,
I'm writing a 2d game in OpenGL. Every object is a textured quad. These object are stored in an array and then applied on top of eachother (I'm using GL_MODELVIEW). Now I want to implement some lighting. I don't want to use GL_LIGHTING 'cause it's too expensive (and number of light sources is limited).
Does anyone has any idea of how i can implement lighting without GL_LIGHT-s?
thnx
PS!
I've already thought of editing textures (and lighten the screen pixel by pixel), but that's even more expensive than GL_LIGHTING (think of assigning textures to 2500 quads 30 times a second!).