Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z-fighting between flowing river water and water source #2960

Open
Wuzzy2 opened this issue Jun 6, 2022 · 1 comment
Open

Z-fighting between flowing river water and water source #2960

Wuzzy2 opened this issue Jun 6, 2022 · 1 comment

Comments

@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Jun 6, 2022

If you place a flowing river water on top of a water source, or a flowing water on top of a river water source, and you walk inside the source liquid to see the part where the upper liquid touches the bottom liuqid, and then you move the camera around, you will see z-fighting.

Screenshot

https://www.satoshiupload.com/images/4KXnqG99Pz.png

Steps to reproduce

  • Place a (normal) water source on the floor
  • Place a river water above, in such a way that a flowing river water node will appear right above the water source
  • Go inside the water and look up to see the intersection of both liquids
  • Move the camera slightly around

Expected: No z-fighting
Actual result: Z-fighting

Version

  • Minetest Game: 5.5.0
  • Minetest: 5.5.0

See also

minetest/minetest#9323

This might be a bug in Minetest, but I am not sure. Maybe there is also a way to fix this in the game code, with no engine change required? I'm not sure.

@Wuzzy2 Wuzzy2 added the Bug label Jun 6, 2022
@appgurueu
Copy link
Contributor

Maybe there is also a way to fix this in the game code, with no engine change required?

Any such way would require slightly offsetting the source node faces which would be hacky, presumably introducing new kinds of visual bugs. I say this needs an engine change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants