Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shader_file: add .glsl to the list of recognized extensions
In the default resource pack, recent Minecraft versions (namely, 1.17) have additional shader files at assets/minecraft/shaders/include with the .glsl extension, which contain GLSL code that can be imported in other fragment and vertex shaders via the #moj_import preprocessor directive. PackSquash didn't recognize .glsl as a valid shader extension, so it skipped those files and broke resource packs which modified .glsl files and included shaders which relied on those modified files. Let's treat .glsl as a valid shader extension, alongside .fsh and .vsh.
- Loading branch information