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

Spa's icon

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

Spa's icon

bump

Rob Ramirez's icon

hi spa. there is no way to load shader files without first saving them to disk.