Showing the changes to scripts/developer (1 of 3 files). Show all
Unified · Split
| @@ -18,6 +18,7 @@ Column { · 17 unmodified lines | ||
| 18 | 18 | id: root |
| 19 | 19 | spacing: 8 |
| 20 | 20 | property var viewConfig: Render.getConfig("RenderMainView.DrawViewFrustum"); |
| 21 | + property var shadowConfig : Render.getConfig("RenderMainView.ShadowSetup"); | |
| 21 | 22 | property var shadow0Config: Render.getConfig("RenderMainView.DrawShadowFrustum0"); |
| 22 | 23 | property var shadow1Config: Render.getConfig("RenderMainView.DrawShadowFrustum1"); |
| 23 | 24 | property var shadow2Config: Render.getConfig("RenderMainView.DrawShadowFrustum2"); |
| @@ -80,34 +81,34 @@ Column { · 56 unmodified lines | ||
| 80 | 81 | } |
| 81 | 82 | } |
| 82 | 83 | ConfigSlider { |
| 83 | − label: qsTr("Cascade 0 fixed bias") | |
| 84 | + label: qsTr("Cascade 0 constant bias") | |
| 84 | 85 | integral: false |
| 85 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup0") | |
| 86 | − property: "fixedBias" | |
| 86 | + config: shadowConfig | |
| 87 | + property: "constantBias0" | |
| 87 | 88 | max: 1.0 |
| 88 | 89 | min: 0.0 |
| 89 | 90 | } |
| 90 | 91 | ConfigSlider { |
| 91 | − label: qsTr("Cascade 1 fixed bias") | |
| 92 | + label: qsTr("Cascade 1 constant bias") | |
| 92 | 93 | integral: false |
| 93 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup1") | |
| 94 | − property: "fixedBias" | |
| 94 | + config: shadowConfig | |
| 95 | + property: "constantBias1" | |
| 95 | 96 | max: 1.0 |
| 96 | 97 | min: 0.0 |
| 97 | 98 | } |
| 98 | 99 | ConfigSlider { |
| 99 | − label: qsTr("Cascade 2 fixed bias") | |
| 100 | + label: qsTr("Cascade 2 constant bias") | |
| 100 | 101 | integral: false |
| 101 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup2") | |
| 102 | − property: "fixedBias" | |
| 102 | + config: shadowConfig | |
| 103 | + property: "constantBias2" | |
| 103 | 104 | max: 1.0 |
| 104 | 105 | min: 0.0 |
| 105 | 106 | } |
| 106 | 107 | ConfigSlider { |
| 107 | − label: qsTr("Cascade 3 fixed bias") | |
| 108 | + label: qsTr("Cascade 3 constant bias") | |
| 108 | 109 | integral: false |
| 109 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup3") | |
| 110 | − property: "fixedBias" | |
| 110 | + config: shadowConfig | |
| 111 | + property: "constantBias3" | |
| 111 | 112 | max: 1.0 |
| 112 | 113 | min: 0.0 |
| 113 | 114 | } |
| @@ -115,32 +116,32 @@ Column { · 1 unmodified line | ||
| 115 | 116 | ConfigSlider { |
| 116 | 117 | label: qsTr("Cascade 0 slope bias") |
| 117 | 118 | integral: false |
| 118 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup0") | |
| 119 | − property: "slopeBias" | |
| 119 | + config: shadowConfig | |
| 120 | + property: "slopeBias0" | |
| 120 | 121 | max: 1.0 |
| 121 | 122 | min: 0.0 |
| 122 | 123 | } |
| 123 | 124 | ConfigSlider { |
| 124 | 125 | label: qsTr("Cascade 1 slope bias") |
| 125 | 126 | integral: false |
| 126 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup1") | |
| 127 | − property: "slopeBias" | |
| 127 | + config: shadowConfig | |
| 128 | + property: "slopeBias1" | |
| 128 | 129 | max: 1.0 |
| 129 | 130 | min: 0.0 |
| 130 | 131 | } |
| 131 | 132 | ConfigSlider { |
| 132 | 133 | label: qsTr("Cascade 2 slope bias") |
| 133 | 134 | integral: false |
| 134 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup2") | |
| 135 | − property: "slopeBias" | |
| 135 | + config: shadowConfig | |
| 136 | + property: "slopeBias2" | |
| 136 | 137 | max: 1.0 |
| 137 | 138 | min: 0.0 |
| 138 | 139 | } |
| 139 | 140 | ConfigSlider { |
| 140 | 141 | label: qsTr("Cascade 3 slope bias") |
| 141 | 142 | integral: false |
| 142 | − config: Render.getConfig("RenderMainView.ShadowCascadeSetup3") | |
| 143 | − property: "slopeBias" | |
| 143 | + config: shadowConfig | |
| 144 | + property: "slopeBias3" | |
| 144 | 145 | max: 1.0 |
| 145 | 146 | min: 0.0 |
| 146 | 147 | } |