PixelShaderConstant[0] = float4(vecSkill41.r,vecSkill41.g,vecSkill41.b,1);
and what you have to do is to create an action for your model and set the skills there (my.skill41=float(... and so on)
i just did a quick test using random numbers and it works fine
and btw, you didnt assign the fx-file to the material (effect="water.fx";)
Last edited by ello; 08/26/05 09:29.