I'm trying to create a expression that will drive the outGlowColor of the surface shader (named=W) through
using a slider (w_Crv.ty= range 0 to 1)
This is what I came up with, (the expression editor accepted the expression) but it's not working:
float $Rch= w_Crv.ty*0.823529;
float $Gch= w_Crv.ty*0.290196;
float $Bch= w_Crv.ty*0.0431373;
(This turns the glow from black to orange == ty 0 to 1)
setAttr "W.outGlowColor" -type double3 $Rch $Gch $Bch;
Does anybody have a idee what it's wrong .