mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +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 {
|
Row {
|
||||||
spacing: 10
|
spacing: 10
|
||||||
|
id: fxaaOnOff
|
||||||
var debugFXAA = false
|
property bool debugFXAA: false
|
||||||
HifiControls.Button {
|
HifiControls.Button {
|
||||||
text: {
|
text: {
|
||||||
if (debugFXAA) {
|
if (fxaaOnOff.debugFXAA) {
|
||||||
return "FXAA"
|
return "FXAA"
|
||||||
} else {
|
} else {
|
||||||
return "TAA"
|
return "TAA"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (debugFXAA) {
|
fxaaOnOff.debugFXAA = !fxaaOnOff.debugFXAA
|
||||||
Render.getConfig("RenderMainView.JitterCam").stop();
|
if (fxaaOnOff.debugFXAA) {
|
||||||
|
Render.getConfig("RenderMainView.JitterCam").none();
|
||||||
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 0;
|
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 0;
|
||||||
} else {
|
} else {
|
||||||
Render.getConfig("RenderMainView.JitterCam").run();
|
Render.getConfig("RenderMainView.JitterCam").play();
|
||||||
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 1.0;
|
Render.getConfig("RenderMainView.Antialiasing").debugFXAAX = 1.0;
|
||||||
}
|
}
|
||||||
debugFXAA = !debugFXAA
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue