Game Development Community

T3D 1.1 - Imposter rendering bug (normals) - LOGGED (THREED-3180)

by Fyodor -bank- Osokin · in Torque 3D Professional · 01/24/2012 (6:07 am) · 0 replies

Build: T3D 1.2 (Final release)

Platform: Windows

Target: Imposters' rendering pipeline

Issues:
In early days of Torque 3D there was a change.
Before, all objects was rendered into G-buffer using world-space coordinates.
Somewhere between 19 July 2009 and 19 Sept 2009 it was changed (don't have exact revision number), so it now uses view-space coordinates, but the changes was not complete, as imposters are still rendered in world-space, which causes incorrect lighting on imposters in final scene (it depends on view direction).

Steps to Repeat: Place 2 TSStatic objects, set one to always render LOD0, second to always render Imposter LOD.
Turn around the camera and you will notice the effect.

Screenshots:

www.dedicatedlogic.net/_files/t3d12_imposters/1.jpgwww.dedicatedlogic.net/_files/t3d12_imposters/2.jpgwww.dedicatedlogic.net/_files/t3d12_imposters/3.jpgwww.dedicatedlogic.net/_files/t3d12_imposters/4.jpg



Suggested Fix:
None yet