Can you make the width, glow and radius also in vecSkill variables? I'd like to change those by events in the game. I tried, but I keep getting errors at the WIDTH in the while loop. Converted the vecskill2 to an integer, but same problem.
I do get a performance issue now. Framerate drops considerably when I use your wide range sample.
EDIT: I say vecSkill2, but that one is still part of the float4 of skill1. skill5 is better
.