I think the stencil shadow has a bug. I have a stretched mdl cube as the ground and two small mdl reference objects aside. All objects have the Shadow flag on, and i have shadow_stencil = 2 in my main.c
When i run the project the groundcube casts itself as a shadow at itself. It is just visible from the angle of the lightsource. But nevertheless very disturbing.
Here the testfile, 200 Kb.
http://reinerstileset.4players.de/ext/3dgs/selfshadowing.zip And the picture to show what i mean:
