aboutsummaryrefslogtreecommitdiff
path: root/android/native/jni
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2021-10-31 19:18:30 +0100
committerGitHub <noreply@github.com>2021-10-31 19:18:30 +0100
commitcef016d393959e989df259aeacd055fc702a55ca (patch)
treefc1907616d74818da7a321567952db22eabd5641 /android/native/jni
parent532d5b21fdff8bd8aa460b010ebd3bef1b9878dd (diff)
downloadminetest-cef016d393959e989df259aeacd055fc702a55ca.tar.gz
minetest-cef016d393959e989df259aeacd055fc702a55ca.tar.bz2
minetest-cef016d393959e989df259aeacd055fc702a55ca.zip
Apply shadow only to the naturally lit part of the fragment color (#11722)
Fragment color for nodes is now calculated from: * Texture color, highlighted by artificial light if present (light color conveyed via vertex color). * Texture color highlighted by natural light (conveyed via vertex color) filtered by shadow. * Reflected day/moonlight filtered by shadow (color and intensity), assuming some portion of the light is directly reflected from the materials.
Diffstat (limited to 'android/native/jni')
0 files changed, 0 insertions, 0 deletions