This commit is contained in:
mcrcortex
2024-12-03 21:22:39 +10:00
parent c6fe0a1bed
commit 812342b4da
4 changed files with 6 additions and 3 deletions

View File

@@ -41,7 +41,9 @@ vec4 uint2vec4RGBA(uint colour) {
vec4 getFaceSize(uint faceData) {
float EPSILON = 0.001f;
vec4 faceOffsetsSizes = extractFaceSizes(faceData);
//Expand the quads by a very small amount
faceOffsetsSizes.xz -= vec2(EPSILON);
faceOffsetsSizes.yw += vec2(EPSILON);