I don't use MiniB3D, but I'm guessing shadows are stencil shadows?
When you say "I move into this shadow" it's not very explicit. Do you mean an animated character model?
My guess would be that your animated character model has unwelded vertices or holes in the mesh or something of this order which generally breaks stencil shadows. This is the main disadvantage of stencil shadows, and it's generally better to fix the model than fix the shadows. The stencil code *can* be written to adjust for *some* of these problems automatically, but stencil shadows are already dog slow, and this sort of checking just makes them even slower.
When you say "I move into this shadow" it's not very explicit. Do you mean an animated character model?
My guess would be that your animated character model has unwelded vertices or holes in the mesh or something of this order which generally breaks stencil shadows. This is the main disadvantage of stencil shadows, and it's generally better to fix the model than fix the shadows. The stencil code *can* be written to adjust for *some* of these problems automatically, but stencil shadows are already dog slow, and this sort of checking just makes them even slower.