]> git.lizzy.rs Git - dragonfireclient.git/commit
Disable backface culling for drawtype plantlike and only draw 2 faces instead of 4
authorJürgen Doser <jurgen.doser@gmail.com>
Fri, 25 Jan 2013 14:52:53 +0000 (15:52 +0100)
committerPilzAdam <PilzAdam@gmx.de>
Sun, 10 Feb 2013 11:45:25 +0000 (12:45 +0100)
commit6b1420a58af7472880bebb9d0f89be987bc25da1
treea7c5e05f198868c011e419942235ccce952a9529
parent1cda39d5bb1da90116ec9fb3da913634312b62fa
Disable backface culling for drawtype plantlike and only draw 2 faces instead of 4

This way, plants actually show the real backface on their back side,
i.e., the front face mirrored around the vertical axis, instead of
showing the front face on both sides. This looked weird when the
texture was not symmetrical around the vertical axis.
src/content_mapblock.cpp
src/nodedef.cpp