Now with glslify-promise nothing is stopping us from incorporating glslify and shader modularity into pex.
Before there was problem that glslify would return a stream to be transformed by browserify into static string but now with glslify-promise on the node side (in Plask) it can return a Promise that Program can handle in both environments (Plask & Browser).
var program = new Program(
glslify(__dirname + '/PBR.vert'),
glslify(__dirname + '/PBR.frag')
);
Now with glslify-promise nothing is stopping us from incorporating glslify and shader modularity into pex.
Before there was problem that
glslify
would return a stream to be transformed bybrowserify
into static string but now withglslify-promise
on the node side (in Plask) it can return aPromise
thatProgram
can handle in both environments (Plask & Browser).