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

Debug LODs in editor #7

Closed okla closed 2 years ago

okla commented 2 years ago

Is it possible to view LOD changes in editor view or is it supposed to work in render only? I set up a scene with LODSpatial and a camera, but when I move the camera, LODs do not change in the camera preview viewport.

Calinou commented 2 years ago

Duplicate of https://github.com/godot-extended-libraries/godot-lod/issues/6.

Making LODs effective within the editor would introduce unnecessary VCS diffs when saving scenes, so a different solution is needed.

okla commented 2 years ago

@Calinou Maybe there is a way to modify a scene in-memory, without saving the changes to the scene file? Mark these changes as "ephemeral" or something. Probably this would be helpful to visualize Remote changes as well.

Calinou commented 2 years ago

Maybe there is a way to modify a scene in-memory, without saving the changes to the scene file? Mark these changes as "ephemeral" or something.

Godot can only do this if you add new nodes using a tool script (and don't set an owner for them), not if you modify existing nodes' properties (visible in this case).