Hey there,

I'm using the normal mapping shader with specular map support from the wiki:

Normalmapping Shader (wiki)

This shader is only added to our characters.

In our game there are a few cases where player uses a flashlight.

Now the problem:

Though the shader reacts on the light of the spotlight it seems it doesn't know that it's spotlight. It behaves like the spotlight would be a "normal" dynamic light.

Is it possible to modify the shader so that it recognizes spotlights properly?

I'd like to avoid adding a special spotlight shader like the one from AUM 71.

Regards,
Pegamode.