mirror of
https://github.com/minetest/minetest.git
synced 2024-11-09 01:03:46 +01:00
cef016d393
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. |
||
---|---|---|
.. | ||
opengl_fragment.glsl | ||
opengl_vertex.glsl |