[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] shadow demo



On Mar 23, 2008, at 10:49 PM, Ian Mallett wrote:
This particular instance is interesting, as I want to use shadows for an outdoor scene with directional lighting. I just need the shadows in a small area right around the camera, but they must be very high resolution. The ground, unfortunately, is not flat and self-shadowing on other objects is a must, unfortunately. I have no leads to how to do this.

You may find this helpful:

http://gpwiki.org/index.php/Generating_Mesh_Shadows_On_Terrain_Using_OpenGL

-Casey