]> git.lizzy.rs Git - minetest.git/commit
Move updating shadows outside of RenderingCore::drawAll. (#11491)
authorx2048 <codeforsmile@gmail.com>
Thu, 12 Aug 2021 18:07:09 +0000 (20:07 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Aug 2021 18:07:09 +0000 (20:07 +0200)
commit442e48b84fea511badf108cedc2a6b43d79fd852
treed4ba62bd7398f4e1f820dd19425344588a1fe9db
parent0709946c75ae6f2257d368714185bed7bee538ba
Move updating shadows outside of RenderingCore::drawAll. (#11491)

Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering.
Does not fully fix anaglyph 3d mode.
src/client/render/core.cpp
src/client/shadows/dynamicshadowsrender.cpp
src/client/shadows/dynamicshadowsrender.h
src/client/shadows/shadowsScreenQuad.cpp
src/client/shadows/shadowsScreenQuad.h
src/client/shadows/shadowsshadercallbacks.cpp
src/client/shadows/shadowsshadercallbacks.h