Game Development Community

Decals not working on objects in T3D

by Dustin Sims · in Torque 3D Beginner · 11/14/2009 (6:31 pm) · 6 replies

Is there a reason that decals will render on the terrain but not on my objects (dts-from Collada).
I can see the frame once there placed and it allows moving, rotating, etc, but no decal there.

#1
11/14/2009 (8:29 pm)
I "think" that decals render on collision meshes. No collision = no decal.
#2
11/14/2009 (9:30 pm)
muhahahhahhaaaaa......

Thanks Steve.

I hadnt setup any collision yet and it defaults to collision mesh which none of my models have.
I set to Visible mesh and voila! They render nicely.

Kinda odd functionality you think. I would think everyone would want them to render on the visble mesh regardless of collision settings but at least it works.
#3
11/15/2009 (7:53 pm)
In 1.1 you can select on your TSStatic how decals are clipped on that shape... if you use the visible mesh, collision mesh, or no decals.

This is mainly a performance optimization as clipping decals is not a really fast operation on dense triangle meshes.
#4
11/16/2009 (3:38 am)
that's great Tom, thx.
#5
11/16/2009 (1:10 pm)
Tom, thanks for the info and good improvement.
#6
11/16/2009 (1:52 pm)
That is great news!