Open zebontheweb opened 3 weeks ago
My proposed solution is not ideal as is. to be unbreakable, the ability to input an existing renaming table is needed as well.
var VSoptimizedSource = JSON.parse(GLSLX.compile(vertexShaderSource, options).output); var FSoptimizedSource = JSON.parse(GLSLX.compile(fragmentShaderSource, options, VSoptimizedSource.renaming).output);
Hi, we love your project, but it does not work out of the box if you minify vertex shader and fragment shader independantly because varying are renamed differently.
Would it be possible to export the renaming of varying in the output ?
Thanks