Solution multi lights and multi pass?
Posted: Thu Apr 13, 2006 8:50 am
Solution for rendering multi lights useing GLSL:
- multi pass
pass 0 (light 0) + pass 1 (light 1)!
but how do I do multi pass in IRR?
- for in the main() shader
for(i=0; i<lightsCount; i++) ...
but I think that shaders must have full unrolled loops!
(any one know about this in Shader Langage 2.0?)
- multi pass
pass 0 (light 0) + pass 1 (light 1)!
but how do I do multi pass in IRR?
- for in the main() shader
for(i=0; i<lightsCount; i++) ...
but I think that shaders must have full unrolled loops!
(any one know about this in Shader Langage 2.0?)