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.y, binormal.y, normalMat.y,
tangent.z, binormal.z, normalMat.z); tangent.z, binormal.z, normalMat.z);
if(mc_Entity.x == 8.0) { #ifdef LARGE_WAVE_DISPLACEMENT
largeWaveDisplacementNormal = normalize(largeWaveDisplacementNormal * tbnMatrix); if(mc_Entity.x == 8.0) {
}else{ largeWaveDisplacementNormal = normalize(largeWaveDisplacementNormal * tbnMatrix);
largeWaveDisplacementNormal = normalMat.xyz; }else{
} largeWaveDisplacementNormal = normalMat.xyz;
}
#endif
flatnormal = normalMat.xyz; flatnormal = normalMat.xyz;
viewVector = position.xyz; viewVector = position.xyz;