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

Occluded terrain continues to render strips of itself #553

Open
galsjel opened this issue Nov 15, 2024 · 1 comment
Open

Occluded terrain continues to render strips of itself #553

galsjel opened this issue Nov 15, 2024 · 1 comment

Comments

@galsjel
Copy link

galsjel commented Nov 15, 2024

Terrain3D version

v0.9.3a

System information

Godot v4.4.dev3.mono - macOS 15.1.0 - Multi-window, 1 monitor - Metal (Forward+) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (10 threads)

Is the issue reproducable in the demo?

Yes

Issue description

Strips of the terrain are still rendered when they should be occluded.

Screenshot 2024-11-15 at 03 14 54
  1. Open demo
  2. Enable occlusion culling (Project > Project Settings... > Occlusion Culling > Toggle Use Occlusion Culling
  3. Add OccluderInstance3D to the root node of Demo.tscn
  4. Select the new node and in the 3D view press Bake Occluders
  5. Run the scene and venture to the tunnel
  6. Use F10 to switch to wireframe mode and observe landscape through the tunnel walls

Logs

No response

@Xtarsia
Copy link
Contributor

Xtarsia commented Nov 27, 2024

The strips you're seeing here are the L-Shape trims that rotate to fill gaps between LOD levels as they snap in place at different intervals. The L shape meshs essentially have an AABB that covers the entire size of that LOD.

THere are some improvements being worked on that will resolve this issue, as the L-Shape trim will be split into smaller segments.

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

No branches or pull requests

2 participants