]> git.lizzy.rs Git - dragonfireclient.git/commit
Improve lighting of entities.
authorDmitry Kostenko <codeforsmile@gmail.com>
Thu, 4 Nov 2021 02:03:10 +0000 (03:03 +0100)
committerx2048 <codeforsmile@gmail.com>
Mon, 7 Mar 2022 22:45:26 +0000 (23:45 +0100)
commit54dccc480eb03adcf219a7add58f547284f40f76
tree53ca69960e1d4bd2facc35368094106b49b56053
parentf2cccf8da72c39299c8e7ba6ad8f782a7d61b883
Improve lighting of entities.

Pass correct natural & artificial light to the shaders
Use natural/artificial light ratio for correct rendering of shadows
client/shaders/object_shader/opengl_fragment.glsl
client/shaders/object_shader/opengl_vertex.glsl
src/client/content_cao.cpp
src/client/content_cao.h
src/client/wieldmesh.cpp