Game Development Community

DIF Normal Mapping

by Lykon · in Torque Game Engine Advanced · 04/11/2008 (10:08 am) · 2 replies

Is it possible to use Normal Mapping on DIFs in TGEA?

I know this may be a foolish question, as I have managed to find a tutorial on TDN that shows one how to use Normal Mapping on DTS objects in TGEA, and a mention at the bottom of a similar upcoming tutorial that will show one how to do the same thing on DIFs...but I was unable to find the follow up article.

Is this possible with TGEA? And if so, does anyone know of any resources I could be directed towards in order to understand how to do it?

Thanks a lot to anyone who can help me with this!

#1
04/11/2008 (3:22 pm)
Well, from a technical standpoint applying a Normal Map to a DIF is no different than a DTS. I'm no artist, so I can't tell you how to actually CREATE a Normal Map (not sure if that's your question or not) but if you have a Normal Map for a texture you have applied to a DIF then you just define the Material for it the same as a DTS:
new Material(someName_Material)
{
    baseTex[0] = "yourDIFtexture";
    bumpTex[0] = "normalMapTexture";
};
#2
04/14/2008 (5:48 am)
Ok, yeah, I probably didn't phrase my question very well.

I was just trying to see if there was something special that needed to be done for DIFs.

Thanks for clarifying that Mark.