diff --git a/src/main/resources/assets/voxy/shaders/chunkoutline/outline.vsh b/src/main/resources/assets/voxy/shaders/chunkoutline/outline.vsh index 9cc2b7de..1f00834b 100644 --- a/src/main/resources/assets/voxy/shaders/chunkoutline/outline.vsh +++ b/src/main/resources/assets/voxy/shaders/chunkoutline/outline.vsh @@ -19,7 +19,7 @@ void main() { ivec3 cubeCornerI = ivec3(gl_VertexID&1, (gl_VertexID>>2)&1, (gl_VertexID>>1)&1); //Expand the y height to be big (will be +- 8192) //TODO: make it W.R.T world height and offsets - cubeCornerI.y = cubeCornerI.y*32-16; + cubeCornerI.y = cubeCornerI.y*1024-512; gl_Position = MVP * vec4(vec3(cubeCornerI+origin)*16, 1); gl_Position.z -= 0.0001f; } \ No newline at end of file