mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-26 18:22:33 +08:00
fix compile error from last changes
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user