Problem with stencil shadows issued from a directional light

Description

Original reporter: valke

Meshes non uniformly scaled and lightened with directional light(s) have incorrect shadow projections.

Ogre::SHADOWTYPE_STENCIL_ADDITIVE and Ogre::SHADOWTYPE_STENCIL_MODLATIVE returns the same problem.

This was tested with multiple versions of Ogre under Linux Ubuntu, Windows Vista and OSX Leopard.

For comparison purpose here is the scene rendered with Blender
http://www.ogre3d.org/forums/download/file.php?id=3529&mode=view [^]

And here is the same scene rendered with Ogre 1.8
http://www.ogre3d.org/forums/download/file.php?id=3531&mode=view [^]

The Ogre3D forum topic where I exposed the problem:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=66830 [^]

Original Mantis Ticket + Lots of comments & attachments: http://www.ogre3d.org/mantis/view.php?id=469

Environment

None

Assignee

M

Reporter

Philip Allgaier

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure