my problem is that for the outColor to be fully visible the value required is 31, if i make it 32 it is fully invisible....

I don' know what the reason can be for this.
Anyone can tell me what is the right way to use a variable from a script in a shader?

Is the only way through floatV or floatR?

Thanks a lot.