feat: LOD 运行时开关(ImGui Features 横排,关 = 实例收集恒选 LOD0)
This commit is contained in:
@@ -332,6 +332,12 @@ namespace
|
||||
{
|
||||
renderer.SetTAAEnabled(taa);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
bool lod = renderer.GetLodEnabled();
|
||||
if (ImGui::Checkbox("LOD", &lod))
|
||||
{
|
||||
renderer.SetLodEnabled(lod); // 关 = 恒绘原网格
|
||||
}
|
||||
}
|
||||
|
||||
// ---- Environment:IBL 环境 + 调试视图(决定"看什么") ----
|
||||
|
||||
Reference in New Issue
Block a user