Imagine a big sprite for level background. I have to draw the sprite with its own texture applying more than one shaders, for example I want to put 3 light shaders on the texture. How can I achive this?
Currently what I have is:
sf::Shader light;
light.loadFromFile(....);
// Here setting some glsl parameters including light position
sf::RenderStates rs;
rs.shader = &light;
win.draw(bg, rs);
Well what design I need to put 3 lights on the bg sprite's texture.