Skip to content

v0.1.0

Choose a tag to compare

@SalyyS1 SalyyS1 released this 06 Sep 09:52
· 5 commits to main since this release

First release.

shadersmith checks a resource pack's core shaders against the version they are about to run on. The client
does not validate them against anything — it compiles whatever it is given and runs it — so a shader written
for one version can compile on the next and read the wrong uniform, because the contract it was written
against changed without an error saying so. shadersmith holds that contract per version, extracted from the
game's own files, and reports every place the pack disagrees with it, with the fix inline.

Run shadersmith check <pack>/ --mc <version>. See the README for the codes and what each one means.