PackSquash
PackSquash copied to clipboard
Additional shader minification
Related problem
There is no related problem.
Proposed solution
I suggest user-defined variable and function names are shortened as much as possible (e.g one character, growing as necessary). This feature would both decrease readability and bundle size.
Alternative solutions
Not applicable.
Additional context
No response
Doing this properly requires paying a lot of attention to the obvious and not-so-obvious usages of those identifiers, including macros, so it's not that easy. However, it's a good idea, and it could be tackled at some point. Thank you!