Remove special lighting of flowers

It was affecting grass too.
This commit is contained in:
Pedro Gimeno 2020-02-21 11:45:10 +01:00
parent a89f0dbb1d
commit fc08f84151

View File

@ -57,9 +57,6 @@ void main() {
// South or North
if (blockFace == 2. || blockFace == 3.)
ambientIntensity = max(ambientIntensity * 0.9, minBrightness);
// Flowers
if (blockFace == 6.)
ambientIntensity = max(ambientIntensity * 0.9, minBrightness);
color = light(color, vec3(1.0, 1.0, 1.0), v_coord3d, ambientIntensity, diffuseIntensity);