Game Development Community

Decal lighting

by Torbjorn Leksell · in Torque Game Engine · 03/08/2006 (12:52 pm) · 2 replies

Problem: My decals does not light properly and that causes them to look overexposed in dark areas.

I'm not sure if this problem has anything to do with TLK but I figured I would get the best help here in the TLK forum.
I have been using decals in my game for quite some time now but it was just recently when I started to make a really dark level that I discovered that the decals looks weird. The darker the surface the decal is applied to the more apparent the error gets, and in some places in the terrain there is almost no lighting at all so it looks really ugly.

www.narcissisticstudios.com/screens/decalError.PNGThis screenshot shows a decal on the terrain in a really dark area of the map.

Sure would need some help with this problem, it really ruins the mood in the level :/

#1
03/09/2006 (6:23 am)
Torque's decals don't draw lighting information from the object they're over and instead always have the same intensity. The latest TLK code allows the decals to glow (instead of just overlaying an object), but still uses the same intensity.

-John
#2
03/09/2006 (5:00 pm)
@John: Thanks for the info about the decal lighting.
I guess I will have to change the decals so they will look better in dark areas. To bad it wont light properly :/