Pass data from JS to shaders