]> git.lizzy.rs Git - dragonfireclient.git/commit
Fix worldaligned textures
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 24 Apr 2022 10:26:06 +0000 (12:26 +0200)
committersfan5 <sfan5@live.de>
Sun, 24 Apr 2022 19:11:24 +0000 (21:11 +0200)
commitb55d7cd45a304a8a5b8337a3c61defb6e5c27dd9
tree2469e3838fea90c0d4b9667e527e8fa143354e00
parent23f981c45817664c53d70ef0d3bd5c1b46675641
Fix worldaligned textures

As reported in #12197, b0b9732359d43325c8bd820abeb8417353365a0c
introduces a regression in worldalign textures.

The specific change that seems to be responsible for this issue is the
change in order between the computation of the cuboid texture
coordinates and the box edge correction.

Fix #12197 by moving the box edge correction back to before the cuboid
texture coordinates, as it used to be.
src/client/content_mapblock.cpp