godot-extended-libraries / godot-lod

Level of detail (LOD) add-on for Godot 3.x (GLES3 and GLES2)
https://github.com/Calinou/godot-lod-demo
MIT License
232 stars 12 forks source link

just a question #10

Closed MiqueiasDevGames closed 10 months ago

MiqueiasDevGames commented 1 year ago

In spatial Lod, if I set max distance of lod0=100, lod1=0, and lod2=0 and use lod0 on the children, I make my children disappear when I pass that distance, that's also useful, right?

But I'm encountering a problem, even close, just turning the camera to the side a little add the meshinstance when I use lod0=50

Calinou commented 11 months ago

Please upload a minimal reproduction project[^1] to make this easier to troubleshoot.

Remember that if you have a mesh for LOD 2, LOD 2 should always have a greater Max Distance than LOD 1. The same applies with LOD 0, which should always have a lower Max Distance than LOD 1.

In short, Max Distances should be: LOD 0 < LOD 1 < LOD 2

[^1]: A small Godot project which reproduces the issue, with no unnecessary files included. Be sure to not include the .godot folder in the archive (but keep project.godot).

Drag and drop a ZIP archive to upload it. Do not select another field until the project is done uploading.

Note for C# users: If your issue is not Mono-specific, please upload a minimal reproduction project written in GDScript or VisualScript. This will make it easier for contributors to reproduce the issue locally as not everyone has a Mono setup available.

Calinou commented 10 months ago

Closing due to lack of response. Please comment if you can still reproduce this bug on the latest Godot version.