We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The minimal case is:
precision highp float; varying vec4 vColor; void main() { gl_Position = vec4(0.0, 0.0, 0.0, 1.0); }
using shader_minifier.exe -o output.glsl --format text --no-renaming-list "vColor" input.glsl
shader_minifier.exe -o output.glsl --format text --no-renaming-list "vColor" input.glsl
the result is:
precision highp float;varying vec4 vColor;
The text was updated successfully, but these errors were encountered:
The behavior is indeed surprising. For now, use --no-renaming-list vColor,main to keep main.
--no-renaming-list vColor,main
main
Sorry, something went wrong.
The behavior shouldn't be changed as it is working as described, but this particular gotcha could be pointed out in documentation.
No renaming list is not removing functions, but rather:
no-renaming-list
mainImage
No branches or pull requests
The minimal case is:
using
shader_minifier.exe -o output.glsl --format text --no-renaming-list "vColor" input.glsl
the result is:
The text was updated successfully, but these errors were encountered: