Satin API

Satin API

3M Downloads

int uniforms cause a ShaderParseException

The-PPWD opened this issue ยท 1 comments

commented

Description: Using int uniforms causes Minecraft to throw a ShaderParseException.

Reproduce: Implement an integer uniform in a shader with the corresponding uniform being described in the .../post/NAME.json and .../program/NAME.json.

Environment:

  • Minecraft Version: 1.16.4
  • Satin Version: 1.5.1
  • Inside or Outside of a development environment: Inside.

Expected behavior: A ShaderParseException shouldn't be thrown and the int uniform should behave like a float uniform (which work).

Screenshots:
Exception
.../post/filter.json
.../program/filter.json

commented

Thanks for the quality report ! As far as I can tell, this issue no longer occurs in MC 1.17, so I'll close it. Feel free to reopen if that is not the case.