How do i put norrmall mapping into TGEA ?
by Tom Timothy · in Torque Game Engine Advanced · 02/02/2008 (11:26 am) · 1 replies
Just looking for some instuctions to get me started
by Tom Timothy · in Torque Game Engine Advanced · 02/02/2008 (11:26 am) · 1 replies
Torque 3D Owner J.C. Smith
new Material(uniquematerialname) { baseTex[0] = "mytexturefilename"; bumpTex[0] = "mynormalmapfilename"; pixelSpecular[0] = true; specular[0] = "0.25 0.25 0.25 0.75"; specularPower[0] = 1.0; };Note the three specular lines are not necessary for a normal map but that's how you set up the specular highlights.