T3D 1.1 Beta 3 - 2 problems with decals rendering
by Flashback · in Torque 3D Professional · 01/24/2011 (10:28 am) · 4 replies
Build: 1.1 Beta 3 Pro
Platform: Windows Vista/7/XP, but most likely Any
Target: Engine, Decals
Issues:
1) Decal plane is rendered over Player's feet. The bigger the distance between Player model and camera, the bigger that rendering error;
2) Player's shadow is rendered below the decal.
Picture that illustrates both issues:

Steps to Repeat:
1. Launch the game.
2. Start the empty level.
2. Open the decal editor, and place a large (preferably colorful) decal under Gideon's feet. With black&white/highly transparent decal it may be harder to spot the problem.
Platform: Windows Vista/7/XP, but most likely Any
Target: Engine, Decals
Issues:
1) Decal plane is rendered over Player's feet. The bigger the distance between Player model and camera, the bigger that rendering error;
2) Player's shadow is rendered below the decal.
Picture that illustrates both issues:

Steps to Repeat:
1. Launch the game.
2. Start the empty level.
2. Open the decal editor, and place a large (preferably colorful) decal under Gideon's feet. With black&white/highly transparent decal it may be harder to spot the problem.
About the author
Programmer at Iron Tower Studio
#2
Problem 2 isn't, though, swapping values doesn't seem to change anything here.
01/24/2011 (11:38 am)
Problem 1 seems to be fixed, then. Spasibo, Ivan.Problem 2 isn't, though, swapping values doesn't seem to change anything here.
#3
01/24/2011 (1:53 pm)
For problem 2, go to the decal material, and in the advanced properties set it to LerpAlpha, and check the Transparency and Transparent Z-Write checkboxes (the rest is unchecked).
Torque Owner Ivan Mandzhukov
Liman3D
It is the decal bias in levelinfo,try to use small values.
Problem 2:
It is the render order in renderManager.cs
Try to swap 0.7(shadows) and 0.8(decals)