Hi,
After playing a bit with Irrlicht&Ogre I´m thinking about coming back to GS and doing a real game-project.
So I`m interested in programming a "better" normalmapping shader for GS.
Well, I didn´t have any problems with doing the shader fx stuff, but i want every objekt to be lighten by, lets say, 8 lights (or 4 or what ever), and heres the problem, every object shuold be only affected by the 8 nearest lights. Is there a posibility to get those nearest lights?? All Gs shader i´ve seen affected every objekt the same way. In other engins (Irrlicht) there is a render callback, that is called everytime a model is rendered, and in this callback its possible to set the shader params. Is there something equvalent in GS??
thx in advance TGM