GLSL shadow advise

I’m looking for some kind of shadow mapping technique that’s easy to implement using glsl (version 110 would be best), Panda3d 1.8.1 and Python only. I’m mostly interested in outdoor scenes so shadows from a single directional/spot light would do just fine.

Anyone has anything to recommend? Most of the tutorials I’ve seen skip a important part about constructing a matrix later used for making texture coordinates for the shadow map or give some tips on making one using opengl calls - that’s no good for me.

Links and snippets are welcome :mrgreen: