Hi, I am currently working on a game engine and I have a problem.
I want to introduce lighting to my engine. I know the opengl has only 8 lights so I need to implement my own lighting system. I've tried somee simple fragment shaders to do that but the performance is poor when i use many lights. So I think that I need to use lightmaps on the static geometry.
My question is how can I implement bumpmapping using lightmaps(or any other way to do lighting)?