diff options
author | makamys <makamys@outlook.com> | 2022-06-20 22:05:05 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-20 22:05:05 +0200 |
commit | 413bee34e68e977a779a95a0c2e89d60c254d261 (patch) | |
tree | 415796ef6b57519195d0a952f89d884df78c928d /src/main/resources/shaders/chunk.vert | |
parent | 42b814f0470317661a23aa1403041cad27ec880f (diff) | |
download | Neodymium-413bee34e68e977a779a95a0c2e89d60c254d261.tar.gz Neodymium-413bee34e68e977a779a95a0c2e89d60c254d261.tar.bz2 Neodymium-413bee34e68e977a779a95a0c2e89d60c254d261.zip |
Fix lava rendering
Diffstat (limited to 'src/main/resources/shaders/chunk.vert')
-rw-r--r-- | src/main/resources/shaders/chunk.vert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/shaders/chunk.vert b/src/main/resources/shaders/chunk.vert index 9fee06c..eb43942 100644 --- a/src/main/resources/shaders/chunk.vert +++ b/src/main/resources/shaders/chunk.vert @@ -3,7 +3,7 @@ layout (location = 0) in vec3 aPos; layout (location = 1) in vec2 aTexCoord; layout (location = 2) in vec2 aBTexCoord; layout (location = 3) in vec4 aColor; -layout (location = 4) in vec4 aMQPos; +layout (location = 4) in vec4 aMQPos; // if the first coordinate is 255, it means: disable megaquad processing for this quad uniform mat4 modelView; uniform mat4 proj; @@ -22,7 +22,7 @@ out vec4 Viewport; out mat4 ProjInv; out vec4 FogColor; out vec2 FogStartEnd; -out float FogFactor; +out float FogFactor; // -1 means: disable fog flat out vec2 ProvokingTexCoord; void main() |