if u use vecSkill41 for the pixelShaderConstant[c0] , too and use its .w component in the vertexshader then the other 3 skills can go as rgb data into the pixelshader u can change the effects color within the entity-skills. i added c1 constant with value 1in alpha position and a mov r0.a,c1.a after the rgb values have been passed because the skill41.a component is still the line thickness. this way you can set the style for every entity using the same shader: