feat: LOD 运行时开关(ImGui Features 横排,关 = 实例收集恒选 LOD0)

This commit is contained in:
2026-09-25 16:39:16 +08:00
parent cd4eb94a3a
commit d9848b416a
6 changed files with 23 additions and 8 deletions
+6
View File
@@ -332,6 +332,12 @@ namespace
{
renderer.SetTAAEnabled(taa);
}
ImGui::SameLine();
bool lod = renderer.GetLodEnabled();
if (ImGui::Checkbox("LOD", &lod))
{
renderer.SetLodEnabled(lod); // 关 = 恒绘原网格
}
}
// ---- Environment:IBL 环境 + 调试视图(决定"看什么") ----