diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-11-15 18:45:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 18:45:44 +0000 |
commit | e5a37543cc7932f6252a086b4b8619b5dde9ae5a (patch) | |
tree | 154a10fbcaff00f7f7c20c9ff3d76da0a535f978 /src/clientmedia.cpp | |
parent | 6b102ce51f01a381ab6356931689d85528455a50 (diff) | |
download | minetest-e5a37543cc7932f6252a086b4b8619b5dde9ae5a.tar.gz minetest-e5a37543cc7932f6252a086b4b8619b5dde9ae5a.tar.bz2 minetest-e5a37543cc7932f6252a086b4b8619b5dde9ae5a.zip |
Framed glasslike: Don't use cuboids to draw glass faces (#7828)
Previously, each glass face used drawAutoLightedCuboid() to draw a
flat cuboid. This also disallowed backface culling, making the
backface culling inconsistent with 'glasslike'.
Use code from 'glasslike' to draw glass faces using drawQuad().
Remove long-unknown top/bottom textures feature:
Makes the code simpler and cleaner.
Never documented, long-unknown and not of much use.
Diffstat (limited to 'src/clientmedia.cpp')
0 files changed, 0 insertions, 0 deletions