Parchment icon indicating copy to clipboard operation
Parchment copied to clipboard

Shader Parameter names swapped

Open Drullkus opened this issue 1 year ago • 0 comments

Minecraft version: 1.21.1 Mappings version: 2024.07.28

ShaderInstance.setDefaultUniforms has 2nd (index 1) and 3rd (index 2) parameter swapped - a projection matrix is being bound in place of the model view matrix whilst the model view matrix is being bound in place of a projection matrix. For graphics developers, this creates a whimsically confusing visual bug

Screenshot 2024-08-12 at 9 45 17 AM

Drullkus avatar Aug 12 '24 16:08 Drullkus