Game Development Community

Self-Illumination Map?

by iHugMedia · in Torque Game Engine · 07/06/2006 (2:51 am) · 7 replies

I've run into a bit of a sticky puddle with my game, some of my DTS objects need to appear glowing, but the glowing areas are baked into the texture rather than being a seperate part of the mesh. I've tried making a self-illumination map and adding it to the material slot, but that (quite obviously now) didn't work.
I know that the popular choice would be to seperate the mesh and apply a material with the self-illumination turned on to the area, but thats kind of hard as the mesh is com plex and I've already finished UV-Mappinig and painting it.

Is there a way to add any sort of "Glow" map to a DTS object in TLK?

#1
07/06/2006 (10:34 am)
TLK doesn't support that out of the box, but you could probably find a way to do it in code or in the model itself (like adding a mesh shell to the object, assigning it the glow texture using self-illumination and an additive blend), but these might take longer than separating the glowing and non-glowing materials into separate geometry.
#2
07/06/2006 (6:33 pm)
Okay, I added a two-polygon plane in front of the glowing areas with a self-illuminated texture attached and it works well for now.
Thanks John.
#3
07/06/2006 (6:56 pm)
Can you show us what it looks like? I'd be interested.
#4
07/06/2006 (8:15 pm)
Sure
thelair-underground.com/glowing.jpgIt gives a nice effect imo, but would be better if it were baked into the texture.
#5
07/06/2006 (8:42 pm)
Interesting, thanks. What is that object he's holding?
#6
07/06/2006 (8:54 pm)
Sort of a futuristic fire extiguisher.
In the future everything will glow (I just watched Lawnmower Man II), so I thought I'd have all the unessesary objects glowing (The game isn't meant to be too serious).

EDIT: Alot of people say my images are very dark on their screens, my monitors are brighter than most for some reason.
#7
07/06/2006 (8:57 pm)
Gotcha. Thanks...