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.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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user