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

Mapblock occlusion culling can hide visible geometry #14580

Open
paulevsGitch opened this issue Apr 23, 2024 · 2 comments
Open

Mapblock occlusion culling can hide visible geometry #14580

paulevsGitch opened this issue Apr 23, 2024 · 2 comments
Labels
Bug Issues that were confirmed to be a bug @ Client rendering

Comments

@paulevsGitch
Copy link

Minetest version

Minetest 5.8.0 (release)

Irrlicht device

No response

Operating system and version

Windows 10, 64 bit

CPU model

Intel Core i9-10900F

GPU model

NVIDIA GeForce RTX 3060

Active renderer

OpenGL 4.6.0

Summary

In some cases occlusion culling can be too aggressive and cull visible geometry. That happens when another mapblock slightly overlaps hidden geometry, example (sand near cliffs):

screenshot_20240423_111943

Same place with different angle - geometry is not occluded:

screenshot_20240423_113404

That happens with both "loops" and "bfs", independently from enabled/disabled "raytraced occlusion" and "server occlusion culling"

Steps to reproduce

This bug can be reproduced in different games, for example in this one, or you can see similar bug in backrooms test

@paulevsGitch paulevsGitch added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Apr 23, 2024
@sfan5
Copy link
Member

sfan5 commented Apr 27, 2024

The occlusion culler is indeed quite approximate and not very good, so this is "just" a symptom of that.

@sfan5 sfan5 added Bug Issues that were confirmed to be a bug and removed Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible labels Apr 27, 2024
@paulevsGitch
Copy link
Author

There are several articles and sources that can potentially help to improve occluder:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug @ Client rendering
Projects
None yet
Development

No branches or pull requests

3 participants