fix compile error from last changes

This commit is contained in:
Xonk
2025-04-06 19:32:52 -04:00
parent f0ad8e93f6
commit 214dab3478

View File

@ -207,11 +207,13 @@ void main() {
tangent.y, binormal.y, normalMat.y,
tangent.z, binormal.z, normalMat.z);
if(mc_Entity.x == 8.0) {
largeWaveDisplacementNormal = normalize(largeWaveDisplacementNormal * tbnMatrix);
}else{
largeWaveDisplacementNormal = normalMat.xyz;
}
#ifdef LARGE_WAVE_DISPLACEMENT
if(mc_Entity.x == 8.0) {
largeWaveDisplacementNormal = normalize(largeWaveDisplacementNormal * tbnMatrix);
}else{
largeWaveDisplacementNormal = normalMat.xyz;
}
#endif
flatnormal = normalMat.xyz;
viewVector = position.xyz;