[Bf-committers] Shadow buf question

Joe Eagar joeedh at gmail.com
Sun Nov 11 03:02:49 CET 2007


Hi.  The shadow buffer view matrix is initialized in 
source/blender/render/intern/source/convertblender.c in initshadowbuf.
This matrix is used by all the shadow buffer code, including DSM.

The matrix is initilized by multiplying the inverted camera matrix with 
the inverted lamp orientation matrix.  Anyone know
why this is? I think if I knew the answer to this question, I might be 
able to track down why I keep getting crazy zbuffer
behaviour among other things.

Joe


More information about the Bf-committers mailing list