Game Development Community

MAC:TGEA 1.8.1: Lighting render errors and/or inconsistencies

by James · in Torque Game Engine Advanced · 06/17/2009 (4:54 am) · 2 replies

The scene below demostrates a light rendering error on the Mac. Focus your attention on the columns on either side of the room and how they are being lit.

Mac: Interior lighting
www.crowtrees.ca/temp/MacLighting.jpg
Windows: Interior lighting
www.crowtrees.ca/temp/WindowsLighting.jpg

Shadows are being cast correctly on the room however the lighting on the columns is incorrect. If you compare the Mac screen to the identical Windows scene below it, you'll see what I mean.

It appears that the columns are being lit by the light source (there is a highlight on one side) but it is not consistent with the sources light location.

Has anyone else run into this problem?

Edit:
Additional Note: I'm using the CottageLight.cs for test lighting with CastsShadows activated. This is the only modification I've made to the file.

#1
06/17/2009 (5:22 pm)
Have you looked at the debug mode ?

i would compare the two screen shots in the debug mode.

on the Mac CTRL-F9

It sure looks like there is an extra light perhaps sticking through the right-hand column.

i have seen positional strangeness between mac and PC version on rare occasions but never repeatable enough to debug cleanly.
#2
06/18/2009 (6:02 am)
I've checked and there isn't an additional light in the scene, what you're seeing is an artifact of the problem.

It's almost as though it has literally reversed the lighting on the Columns. That highlight you took for a second light almost looks like the inverse of what should be the correct lighting. The other columns have a similar effect.

Other interiors within the mission are demonstrating the same problem.