thank you very much!

still one proble remains:
Code:

float a = radians(45);
float3x3 matRotate =
{
cos(a) , -sin(a) , 0,
sin(a) , cos(a) , 0,
0 , 0 , 1
};
Out.tex = mul(In.tex,matRotate);



this works perfect, but if i youse entSkill41 instead of 45 and pass it from the entities action via my.skill41 = floatv(45); it does not work correct.. any idea whats wrong?

Last edited by ello; 12/19/07 08:58.