mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 03:42:27 +02:00
Messing around
This commit is contained in:
parent
73ac38a6a6
commit
d406e52d71
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <platform/Profiler.h>
|
||||
|
||||
#include "scripting/RenderScriptingInterface.h"
|
||||
#include "LODManager.h"
|
||||
|
||||
PerformanceManager::PerformanceManager()
|
||||
{
|
||||
|
@ -68,6 +69,8 @@ void PerformanceManager::applyPerformancePreset(PerformanceManager::PerformanceP
|
|||
RenderScriptingInterface::getInstance()->setShadowsEnabled(true);
|
||||
qApp->getRefreshRateManager().setRefreshRateProfile(RefreshRateManager::RefreshRateProfile::REALTIME);
|
||||
|
||||
// DependencyManager::get<LODManager>()->setWorldDetailQuality()
|
||||
|
||||
break;
|
||||
case PerformancePreset::MID:
|
||||
RenderScriptingInterface::getInstance()->setRenderMethod(RenderScriptingInterface::RenderMethod::DEFERRED);
|
||||
|
|
5
scripts/developer/utilities/render/lodWindow.js
Normal file
5
scripts/developer/utilities/render/lodWindow.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
var window = Desktop.createWindow(Script.resolvePath('./lod.qml'), {
|
||||
title: "LOD Setup",
|
||||
presentationMode: Desktop.PresentationMode.NATIVE,
|
||||
size: {x: 350, y: 500}
|
||||
});
|
Loading…
Reference in a new issue