I am trying light and shadow now, but I have some problems, I read the manual and can't find any tutorial to follow.
I tried the following steps:
1. sun_light = off
2. enable shadow_stencil = on
3. add my.shadow = on in action and assigned the action to entity.
4. add another model as dynamic light and assign an action with only 1 line "my.lightrange = 500;"
Now I can see the dynamic light work but the shadow of the entity seems react to sun light.
What is my problem?