Game Development Community

Lighting Artifacts in Beta 3

by Gary Hoffmann · in Torque 3D Professional · 06/25/2009 (11:17 am) · 7 replies

I'm getting some strange artifacts with the advanced lighting that didn't show up in the earlier betas.

See below (this is looking at a ground plane with post fx turned off):

www.biomassthegame.com/images/misc/lightingartifact.jpg

#1
06/25/2009 (11:54 am)
I see this too on a NVidia 8600 with latest drivers, Vista64 but not on ATI (also VIsta64).
#2
06/25/2009 (12:00 pm)
I'm using 8800 GTX with driver 185.85 on Vista64.
#3
06/25/2009 (1:54 pm)
I'm seeing it here too... i'll post the fix as soon as i figure out what caused it.
#4
06/25/2009 (11:06 pm)
Ok.

Whats causing it is that in beta 3 we needed to be able to blend into the prepass buffers for terrain rendering. To make this work on some cards (mostly Geforces) we need to use GFXFormatR16G16B16A16F for the prepass texture.

It seems that its something about encoding depth into the float format that is causing this, but i haven't nailed the solution just yet.
#5
06/29/2009 (11:50 am)
Logged as THREED-538
#6
07/28/2009 (3:16 pm)
Anyone that is still having this issue... give this fix a try.