Hi all
I’m playing with shadow implementation in the code and with auto shadow I can get the model shadowed but it doesnt project the shadow on the floor or any wall or similar, is this kind of shadow possible only with simple auto shadow?
If no, any clue of how to implement.
So thx

Check the manual on lights.

In short you need to .setShadowCaster(True,512, 512) on a spotlight.

Perhaps you forgot to enable setShaderAuto() on the object you are projecting shadows onto, or perhaps the far clip of your light does not extend that far?

Thanks for both answers, I didnt know anything about that “.setShadowCaster”, everything is now working fine :wink:

So thx