You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Implement automatic LOD (Level of Detail)
-Happens on import by default for all models -Just works (tm) -Biasing can be later adjusted per node or per viewport (as well as globally) -Disabled AABB.get_support test because its broken
This commit is contained in:
@@ -525,6 +525,9 @@ void EditorNode::_notification(int p_what) {
|
||||
scene_root->set_sdf_oversize(sdf_oversize);
|
||||
Viewport::SDFScale sdf_scale = Viewport::SDFScale(int(GLOBAL_GET("rendering/quality/2d_sdf/scale")));
|
||||
scene_root->set_sdf_scale(sdf_scale);
|
||||
|
||||
float lod_threshold = GLOBAL_GET("rendering/quality/mesh_lod/threshold_pixels");
|
||||
scene_root->set_lod_threshold(lod_threshold);
|
||||
}
|
||||
|
||||
ResourceImporterTexture::get_singleton()->update_imports();
|
||||
|
||||
Reference in New Issue
Block a user