This  tool aims to allow users to merge Minecraft Shaderpack files together.

This tool should allow users to merge two shader setting .txt files with each other while preserving the left one, or add a shaderpack .txt's values to a common.glsl file (shader properties/settings internal file) (might be useful for Iris mod - NOTE: Not all settings are supported and Iris might break. Please don't complain to the shaderpack developers if modified packs break, check if it's on the Iris Github issues instead).
This tool was made with Complementary shaders in mind and might not work for all other shaders.

"common.glsl" might be called "settings.glsl" or anything else in some shaderpacks.
For ComplementaryShaders for example, Common.glsl can be found inside \shaders\lib inside the shaders zip folder of your shader. Copy the contents of it, paste on the tool, modify it, and apply it back to the shader.

Settings .txts can be found next to your shaderpack zip file or unzipped folder after you have changed at least one setting on it.

Note: If you want to make sure the app didn't break anything, I recommend comparing the original and new files using diffchecker or a similar website/tool.

Download

Download NowName your own price

Click download now to get access to the following files:

ShaderStuffMerger_v1.3.zip 29 MB
All Complementary Profiles as .txts to use on the app.zip 2 kB
v1.3 Partial Source Code.zip 2 kB

Comments

Log in with itch.io to leave a comment.

v1.3 - Fixed const variables losing ; and =
- Fixed \t characters breaking the app
- Fixed(?) incorrect scaling on some browsers
- General improvements to avoid bug

v1.2 - Made the app work on browser. Added Upload buttons to upload txt files. Fixed a few things.

v1.1 - Fixed \r characters making the app not work
- Fixed app not working with some variables (lower-case ones like shadowMapResolution)
- Made the app look nicer