IFLs in Material definitions
by John Doppler Schiff · in Torque Game Engine Advanced · 08/13/2008 (11:05 pm) · 1 replies
Hi guys,
Can an IFL be used in a TGEA material? I'm trying to create a 2-pass material that's got emissive, blinking lights overlaid on a computer console, but I'm not having much luck with the IFL.
IFL contents:
Any ideas what I've done wrong here, if anything?
Can an IFL be used in a TGEA material? I'm trying to create a 2-pass material that's got emissive, blinking lights overlaid on a computer console, but I'm not having much luck with the IFL.
new Material( consoleTest2 )
{
// STAGE 0
// metal panel
//----------------------------
baseTex[0] = "panel1";
bumpTex[0] = "panel1_normal";
// STAGE 1
// blinking indicator lights
//----------------------------
baseTex[1] = "engLights1.ifl";
emissive[1] = true;
};IFL contents:
engLights1a 7 engLights1b 19 engLights1c 7 engLights1d 3 engLights1e 5
Any ideas what I've done wrong here, if anything?
Torque Owner Ivan Mandzhukov
Liman3D
... the code sets a flag and just do nothing.