I want to proportionally blend two y-values of P from two different nodes. Seems like a pretty straightforward and common need. Haven't been able to really find a node to do this. Here's a snippet of VEX that works. But, I wonder, is there a node that I could use instead?
float blendAmt = chf("blendAmount");
float Y0 = @P.y;
float Y1 = @opinput1_P.y;
@P.y = ((Y0*blendAmt)+(Y1*(1-blendAmt)));
Thanks,
Greg