Encode x RGBa
vector4 EncodeFloatRGBA(vector1 x);
vector4
(vector1 x);
x
[0..1) range float.
Encodes [0..1) range float into RGBa color, for storage in low precision render target.