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


    Oct 03 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

    • Oct 03 2015 | 10:42 pm
      bump
    • Oct 05 2015 | 5:58 pm
      hi spa. there is no way to load shader files without first saving them to disk.