Shadow Maps with Frame Buffer Objects (FBOs) in PygletWarning - this is work in progress ! This demo shows the usage of FBO (Frame Buffer Objects) with Pyglet. At the moment this is just a rough adaption of the original C-Code from http://www.fabiensanglard.net/shadowmapping/index.php All Kudos should go to Fabien Sanglard, who made the tutorial and the original implementation. I just experimented a little bit with Moire-Artefacts. I think the easiest way to get rid of them is to check for the Light-to-Normal Angle. If light falls in at very shallow angles, we should not bother to query the shadow map at all - we should just
What the program does though, is a little camera movement:
|