Game Development Community

T3D 1.1 Beta 2 - Point Light Cubemap Shadows Flicker and Crashes the Game - CONFIRMED

by Oscar Velzi · in Torque 3D Professional · 08/09/2010 (10:55 pm) · 5 replies

Build: 1.1 Beta 2

Platform: Windows XP, 32bit

Target: Editor

Issues: When setting a point light shadow to cubemap, the light starts to flicker if you are outside the radius, and exiting the editor crashes the game.

Steps to Repeat:
1. Launch the deathball desert area.
2. Enter the editor.
3. Place a point light shadow, radius size 7, inside one of the towers.
4. Activate castShadows on it, and make the shadowType cubemap. Here the shadow will flicker if you are outside the radius, and the move gizmo will flicker up and down too. Making the radius of the light higher or being inside the radius creates other oddities.
5. Press F11 to exit the editor and the game will crash.

#1
08/10/2010 (12:12 am)
EDIT: Whoops, I had basic lighting on.

Yeah, I see the crash as well! I didn't come across any flickering, but I did trigger a breakpoint.
#2
08/10/2010 (12:24 am)
I see flickering on the cubemap shadow.
#3
08/10/2010 (12:35 am)
I'm using advanced lighting, and the flickering occurs if you are outside the radius of the light and the speed seems dependent on your fps.
#4
08/11/2010 (3:40 pm)
Logged as TQA-778 for the QA team to verify.
#5
08/13/2010 (6:37 pm)
Bug confirmed.