Forums > Jitter

dynamic jit.gl.shader, à la jit.gl.material …


Spa
October 3, 2012 | 2:01 am

I’m writing geometry shader composed of 3 parts: vertex, geometry, fragment

Is there a way to dynamicaly create (on the fly) and pass these shader (text) to a jit.gl.shader object.
Perhaps inside a javascript or java or lua, without having to save to disk and read the shader from a file.
I suppose it’s the way jit.gl.material works, isn’t it?
thanks


Viewing 1 post (of 1 total)