material mtl_vegetation
{
event = mtl_vegetation_init;
effect=
"
texture entSkin1;
dword mtlSkill1;
technique vegetation
{
pass p0
{
Texture[0] = <entSkin1>;
ZWriteEnable = True;
AlphaBlendEnable = False;
AlphaTestEnable = True;
AlphaRef = <mtlSkill1>;
AlphaFunc = Greater;
CullMode = None; // CCW or None
ColorArg1[0] = Texture;
ColorOp[1] = Add;
ColorArg2[0] = Diffuse;
}
}
technique fallback{pass p0{}}
";
}
action vegetation
{
my.transparent = off;
my.material = mtl_vegetation;
}
Was it this one ? If not sorry
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|