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

Oct 3, 2012 at 2:01am

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

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

#64591

You must be logged in to reply to this topic.