mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
Adding the full code path, starting debugging the problems in hmd,
This commit is contained in:
parent
e70f261de4
commit
3e1c2bdb48
1 changed files with 8 additions and 7 deletions
|
@ -34,25 +34,26 @@ Rectangle {
|
|||
|
||||
Row {
|
||||
spacing: 10
|
||||
|
||||
var debugFXAA = false
|
||||
id: fxaaOnOff
|
||||
property bool debugFXAA: false
|
||||
HifiControls.Button {
|
||||
text: {
|
||||
if (debugFXAA) {
|
||||
if (fxaaOnOff.debugFXAA) {
|
||||
return "FXAA"
|
||||
} else {
|
||||
return "TAA"
|
||||
}
|
||||
}
|
||||
onClicked: {
|
||||
if (debugFXAA) {
|
||||
Render.getConfig("RenderMainView.JitterCam").stop();
|
||||
fxaaOnOff.debugFXAA = !fxaaOnOff.debugFXAA
|
||||
if (fxaaOnOff.debugFXAA) {
|
||||
Render.getConfig("RenderMainView.JitterCam").none();
|
||||
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 0;
|
||||
} else {
|
||||
Render.getConfig("RenderMainView.JitterCam").run();
|
||||
Render.getConfig("RenderMainView.JitterCam").play();
|
||||
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 1.0;
|
||||
}
|
||||
debugFXAA = !debugFXAA
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue