]> git.lizzy.rs Git - minetest.git/commit
Add smooth light-shadow transition at noon (#11430)
authorx2048 <codeforsmile@gmail.com>
Sun, 25 Jul 2021 10:35:12 +0000 (12:35 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Jul 2021 10:35:12 +0000 (12:35 +0200)
commitff2d2a6e93d75d24b3f69f2b3690bcac6440961e
tree8984d4f75d852f07b3cd66fc217febc5603dfd06
parent5d27cc50968260db5cf34726c88dbbc5ed27c941
Add smooth light-shadow transition at noon (#11430)

Node faces with normals pointing East/West (+X/-X) will transition between light
and shadow at noon. This code makes the transition smooth.
client/shaders/nodes_shader/opengl_fragment.glsl