Game Development Community

Decals are disappear in a moment - LOGGED (THREED-2636)

by Mquaker · in Torque 3D Professional · 09/21/2011 (10:45 pm) · 3 replies

Build: 1.1 Final, etc.

Platform: Windows 7/XP, 32 & 64 bit

Target: In Game

Issues:
When visibleDistance value is set less than 700, Decals are disappear in a moment
and that depend on viewing angle, Decals be drawn on the player


#1
09/22/2011 (1:04 am)
Yeah, I see this also with low visible distances. The decal visibility seems to get affected by the angle of the camera.
#2
09/22/2011 (9:30 am)
logged THREED-2636
#3
03/22/2012 (12:18 pm)
I decided to use the decal editor today for the first time, and found that this bug makes it virtually useless in my situation. Here's the fix:

In decalManager.cpp find
DecalManager::DecalManager()
Right under the line setGlobalBounds();
add this line:
resetWorldBox();