For the life of me I can't work out a way to use more than two lights in a level (when using MDLs and this shader). Do you have any idea?
Below are some screen shots showing the error with the shader when there are more than two lights. I note that this ONLY happens with the "rooms" which are MDLs. In this small lever there are 3 MDLS which are rooms.
That is a picture of the shader working appropriately
This is a picture of the error. (It is easier to show a picture than describe it).
Cheers
Static