aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-06 23:28:36 +0200
committermakamys <makamys@outlook.com>2022-06-07 01:24:26 +0200
commit084b70a107b5e94e576ae79d61a247b2b569b17a (patch)
tree6d8cecba67b8d413bbab892e769354f887e3ecd8 /src
parent9886fb39669fd7b4fe2a6f109897be2244813586 (diff)
downloadNeodymium-084b70a107b5e94e576ae79d61a247b2b569b17a.tar.gz
Neodymium-084b70a107b5e94e576ae79d61a247b2b569b17a.tar.bz2
Neodymium-084b70a107b5e94e576ae79d61a247b2b569b17a.zip
Add dirty quick fix for wrong Y coordinates
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/shaders/chunk.vert2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/shaders/chunk.vert b/src/main/resources/shaders/chunk.vert
index 3f2ad1c..5ff6b06 100644
--- a/src/main/resources/shaders/chunk.vert
+++ b/src/main/resources/shaders/chunk.vert
@@ -23,7 +23,7 @@ out vec2 FogStartEnd;
void main()
{
- gl_Position = proj * modelView * vec4(aPos - playerPos, 1.0);
+ gl_Position = proj * modelView * (vec4(aPos - playerPos, 1.0) + vec4(0, 0.12, 0, 0));
TexCoord = aTexCoord;
BTexCoord = aBTexCoord;
DaColor = aDaColor;