Skip to content

Commit

Permalink
fix antialiasing for texture atlas
Browse files Browse the repository at this point in the history
by enabling centroid sampling for texture coordinates
  • Loading branch information
LizzyFleckenstein03 committed Aug 4, 2024
1 parent 163c8e8 commit 3321247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/shaders/3d/terrain/fragment.glsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
in vec3 fragmentPosition;
in vec2 fragmentTextureCoordinates;
centroid in vec2 fragmentTextureCoordinates;
in float fragmentTextureIndex;
in vec3 fragmentColor;

Expand Down

0 comments on commit 3321247

Please sign in to comment.