Add comment about needing to be in sync
This commit is contained in:
parent
fc08f84151
commit
832b8d1cb0
@ -48,6 +48,7 @@ void main() {
|
||||
float ambientIntensity = max(max(v_lightValue.x, v_lightValue.y) / 16.0, minBrightness);
|
||||
float diffuseIntensity = max(v_lightValue.x, v_lightValue.y) / 32.0;
|
||||
|
||||
// These numbers should be in sync with enum BlockFace in TilesDef.hpp
|
||||
// Bottom
|
||||
if (blockFace == 4.)
|
||||
ambientIntensity = max(ambientIntensity * 0.6, minBrightness);
|
||||
|
Loading…
x
Reference in New Issue
Block a user