Normal Mapping
by none · in Torque Game Engine · 05/10/2010 (5:51 pm) · 5 replies
Hey everyone! I've implemented the MK kit and was wondering, how do I assign normal maps to my own textures for my own materials?
#2
05/10/2010 (8:47 pm)
It's been a while... but i think you just need to use your own normal maps in place of the templated materials and disable the autogeneration of the normal maps that the MK kicks out.
#3
05/10/2010 (8:49 pm)
@Brandon: the Modernization Kit (MK) enables some shader capabilities for TGE
#4
Nicolas Buquet
www.buquet-net.com/cv/
05/11/2010 (12:04 am)
Yes, if you plan to use your own normal maps, then disable the automatic generation. See in mkInterior.cpp// If this is uncommented, we generate material definitions #define MK_AUTOGEN_MATERIALS
Nicolas Buquet
www.buquet-net.com/cv/
#5
05/11/2010 (5:14 pm)
I already have this done but its not even generating normal maps on its own before that. Is there a script I need to put in the file? If so, can you give me an example of that script?
Torque Owner Brandon Baker
World Core Studios