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


Spa
October 3, 2015 | 3:42 pm

bump

October 5, 2015 | 10:58 am

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

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter