[1.12.2] HammerLib - 12.2.59
Curse Maven Snippet
What's new
To get developer builds, see HammerLib wiki.
Changes:
- 12.2.59 - Fix VariableShaderProgram's uniform cache being populated incorrectly and make default float values in the cache NaN, so regardless of what the first setUniform call will have - it will always go through.
- 12.2.59 - Cleanup a lot of unused things, optimize VariableShaderProgram by using hash maps instead of dumb array maps, as well as reuse previous shader states for int1/float1 uniforms, reducing amount of GL calls when the data is the same.
- [1.12.2] 12.2.58 | Fix shader NPEs caused by null values; Reset shader variable hasChanged state on upload.
- [1.12.2] 12.2.57 | Prevent shaders from reloading during preInit (because some mods force a reload on preinit for... some reason); Actually query ShaderVar state and recompile shader program whenever variables change; Utility methods for ColoredLight.
This mod has no additional files