Skip to content

Commit

Permalink
Also adjust scale for vanilla format
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Apr 27, 2024
1 parent 6243caf commit 6ede716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class VanillaModelVertexType implements ChunkVertexType<VanillaLikeChunkM
.addElement(VanillaLikeChunkMeshAttribute.LIGHT, 24, GlVertexAttributeFormat.UNSIGNED_SHORT, 2, true)
.build();

private static final int TEXTURE_MAX_VALUE = 65536;
private static final int TEXTURE_MAX_VALUE = 32768;

private static final float TEXTURE_SCALE = (1.0f / TEXTURE_MAX_VALUE);

Expand Down

0 comments on commit 6ede716

Please sign in to comment.