Use material or entity skills. You can set mtlSkills in c-script with the float() function, and in lite-c by assiging a float value (like 1.0f). You can access these values in the shader with mtlSkill1...mtlSkill4 or the entSkill variables.