]> git.lizzy.rs Git - dragonfireclient.git/commit
Avoid rendering invisible faces of simple nodeboxes (#12262)
authorx2048 <codeforsmile@gmail.com>
Wed, 4 May 2022 21:44:55 +0000 (23:44 +0200)
committerGitHub <noreply@github.com>
Wed, 4 May 2022 21:44:55 +0000 (23:44 +0200)
commitcc56ebd90db3858313a9e597a89c5db8fec3b617
tree24ae58d10b0272a805b84763e180264bbacb7419
parent89c82035d88532bb63c9173e0c4edf54b7ea89f8
Avoid rendering invisible faces of simple nodeboxes (#12262)

* Skip rendering faces adjacent to opaque nodes
* Cancel out opposite faces of adjacent nodebox nodes of the same type

Fixes #6409
src/client/content_mapblock.cpp
src/client/content_mapblock.h