Dear shader experts,
I have a problem when I use the default mtlFX.c fx_bump or fx_specBump and dynamic lights. The manual says they support 3 dynamic lights but when all lights are clipped, the sun seems to be used and its light is added to the mesh what leads to ugly effects/ pop ups.

Video

Is there any way to avoid the influence of the sun light? My work around is sun_light = 0 but it would be much nicer if could use the sun for my levels.

Edit: The third/ right light is ignored by the shader because the other ones are closer and the sun is active.

Last edited by H.F.Pohl; 10/07/09 21:16.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends