diff options
author | Elias Åström <eliast.croc@gmail.com> | 2020-04-02 19:24:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 19:24:35 +0200 |
commit | 3d6b55d3e9b91e6afdbfdcea0268dfb88c69c1c2 (patch) | |
tree | e6dc65ea1e0f6e45f753d2b6e1e604d6902e73aa /games/minimal | |
parent | d7825bca1b3e0ed21c766da3b86c69f1da98917f (diff) | |
download | minetest-3d6b55d3e9b91e6afdbfdcea0268dfb88c69c1c2.tar.gz minetest-3d6b55d3e9b91e6afdbfdcea0268dfb88c69c1c2.tar.bz2 minetest-3d6b55d3e9b91e6afdbfdcea0268dfb88c69c1c2.zip |
Fix texture distortion for flowing liquids (#9561)
Previously textures of the side faces on flowing liquid nodes would
become distorted on different axis depending on the liquid level. This
is because the nodes always had the same texture coordinates, even when
the generated face could have different sizes. This solves that problem
by adjusting the texture coordinates for the vertices making up the top
of the faces, so the textures will not look compressed for smaller
faces.
Diffstat (limited to 'games/minimal')
0 files changed, 0 insertions, 0 deletions