remove remaining instances of WAVY_PLANTS

This commit is contained in:
Xonk
2026-02-13 16:45:27 -05:00
parent 4aa019c385
commit dd1e38f706
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ void main() {
vec3 worldpos = mat3(gbufferModelViewInverse) * position + gbufferModelViewInverse[3].xyz;
#ifdef WAVY_PLANTS
#if FOLIAGE_ANIMATION_AMOUNT > 0
// also use normal, so up/down facing geometry does not get detatched from its model parts.
bool InterpolateFromBase = gl_MultiTexCoord0.t < max(mc_midTexCoord.t, abs(viewToWorld(FlatNormals).y));
+1 -1
View File
@@ -233,7 +233,7 @@ void main() {
int blockId = int(mc_Entity.x + 0.5);
vec3 worldpos = playerpos;
#ifdef WAVY_PLANTS
#if FOLIAGE_ANIMATION_AMOUNT > 0
// also use normal, so up/down facing geometry does not get detatched from its model parts.
bool InterpolateFromBase = gl_MultiTexCoord0.t < max(mc_midTexCoord.t, abs(viewToWorld(normalize(gl_NormalMatrix * gl_Normal)).y));
+1 -1
View File
@@ -233,7 +233,7 @@ void main() {
int blockId = int(mc_Entity.x + 0.5);
vec3 worldpos = playerpos;
#ifdef WAVY_PLANTS
#if FOLIAGE_ANIMATION_AMOUNT > 0
// also use normal, so up/down facing geometry does not get detatched from its model parts.
bool InterpolateFromBase = gl_MultiTexCoord0.t < max(mc_midTexCoord.t, abs(viewToWorld(normalize(gl_NormalMatrix * gl_Normal)).y));
@@ -233,7 +233,7 @@ void main() {
int blockId = int(mc_Entity.x + 0.5);
vec3 worldpos = playerpos;
#ifdef WAVY_PLANTS
#if FOLIAGE_ANIMATION_AMOUNT > 0
// also use normal, so up/down facing geometry does not get detatched from its model parts.
bool InterpolateFromBase = gl_MultiTexCoord0.t < max(mc_midTexCoord.t, abs(viewToWorld(normalize(gl_NormalMatrix * gl_Normal)).y));