No additional lights working with shadows

Hi ,

I am having a problem with adding additional lights in the scene after implementing the Shadow Shader as it has been explained in the Panda Tutorial. The point and directional light turns off as soon as I implement the Shadow shader. Do you have any idea why this is happening or any solutions? I do not need the other light to create shadows but i need to light up the other objects in screen.

Thanks a lot in advance.
Goutham

That’s because once you enable a shader, the fixed-function stuff turns off.
So this means that you will have to implement your lighting calculations for the directional light in your shader, too.

Or wait until 1.7.0, which has automatic shadow support in the Shader Generator.