Passing single var to shader

Posted By: xXxGuitar511

Passing single var to shader - 04/12/07 04:46

I'm having trouble passing a single variable from c-script to the shader.

I need to pass an integer (0 - 3), and I need it to come out in the shader as a whole number, not slightly offset...

I'm trying to use mtlSkill1

EDIT: And yes, I've tried mtl.skill1 = float(X);
© 2023 lite-C Forums