diff options
author | makamys <makamys@outlook.com> | 2022-06-06 23:28:36 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-07 01:24:26 +0200 |
commit | 084b70a107b5e94e576ae79d61a247b2b569b17a (patch) | |
tree | 6d8cecba67b8d413bbab892e769354f887e3ecd8 /src | |
parent | 9886fb39669fd7b4fe2a6f109897be2244813586 (diff) | |
download | Neodymium-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.vert | 2 |
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; |