Much improved frame reflections. This is a little bit heavier but much better looking. The code should be ok, but maybe the parameters might use some fine tuning.

This commit is contained in:
Filippo Scognamiglio
2014-07-06 23:57:47 +02:00
parent 2fe6d147d9
commit 93e40ade4a
6 changed files with 69 additions and 50 deletions
+8 -1
View File
@@ -99,8 +99,15 @@ Tab{
anchors.right: parent.right
GridLayout{
anchors.fill: parent
rows: 2
rows: 3
columns: 3
CheckBox{
Layout.columnSpan: 3
checked: shadersettings._frameReflections
text: qsTr("Frame reflections")
onCheckedChanged: shadersettings._frameReflections = checked
enabled: shadersettings.reflectionsAllowed
}
CheckBox{
property int fps: checked ? slider.value : 0
onFpsChanged: shadersettings.fps = fps