[Bf-committers] Making Orthographic Shadows?
theeth at yahoo.com
Sun Nov 14 19:06:49 CET 2010
orthogonalize_m4() doesn't do what you think it does. It only orthogonalizes the 3x3 subset of the 4x4.
What you'll need to do is change the projection matrix (not the transformation matrix) to remove perspective distortion. I don't know much about the GE, so others will have to take it from there.
--- On Sun, 11/14/10, Josiah Lane <josiahlane1991 at gmail.com> wrote:
> From: Josiah Lane <josiahlane1991 at gmail.com>
> Subject: [Bf-committers] Making Orthographic Shadows?
> To: bf-committers at blender.org
> Received: Sunday, November 14, 2010, 12:18 PM
> Hey. So this is my first post to the
> mailing list. I've been trying to
> implement orthographic shadows into the Game Engine with
> the Blender source
> - I found a way to change the angle of the shadows, but my
> attempt to make
> it orthographic mangled the shadow angles. I was wondering
> which matrices to
> turn orthographic with the orthogonalize_m4()?
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers