|
3 registered members (AndrewAMD, juanex, Grant),
1,018
guests, and 8
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: ent_mtlset() -> crash
[Re: jcl]
#257649
03/24/09 14:45
03/24/09 14:45
|
Joined: May 2002
Posts: 7,441
ventilator
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2002
Posts: 7,441
|
now i have a different problem with ent_mtlset(). in the entity action i have this:
my.material = mtl_chassisbase; // sets the cube map as material skin and sets the material matrix each frame
ent_mtlset(my, mtl_chassis, 1); // environment mapping
ent_mtlset(my, mat_model, 2);
ent_mtlset(my, mat_model, 3);
the first time i load the level everything works. the second time i load the level the environment mapping material doesn't work anymore. what could be the reason for this? 
|
|
|
|