diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-05-31 15:11:31 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-06-02 09:52:01 +0000 |
commit | a398469e66e3a953097857c60655c41bf291a06b (patch) | |
tree | 325d44f4dc27d792d64ddbe19644a64691f40c23 /examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml | |
parent | c406cdb2b9bdb05e642a35d55825fd24ef545efc (diff) |
Fix shadow-map-qml example
In the absence of the ParameterMapper type (removed) we need to
directly specify the correct uniform names.
Task-number: QTBUG-53737
Change-Id: I678ac6f5fab968ee2105f45c8e2d9db66da78293
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml')
-rw-r--r-- | examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml index 068c93764..5169f6ad2 100644 --- a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml +++ b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml @@ -62,10 +62,6 @@ RenderSettings { activeFrameGraph: Viewport { normalizedRect: Qt.rect(0.0, 0.0, 1.0, 1.0) - ClearBuffers { - clearColor: Qt.rgba(0.0, 0.4, 0.7, 1.0) - } - RenderSurfaceSelector { RenderPassFilter { matchAny: [ FilterKey { name: "pass"; value: "shadowmap" } ] @@ -105,10 +101,11 @@ RenderSettings { } } - RenderPassFilter { - matchAny: [ FilterKey { name: "pass"; value: "forward" } ] + RenderPassFilter { + matchAny: [ FilterKey { name: "pass"; value: "forward" } ] ClearBuffers { + clearColor: Qt.rgba(0.0, 0.4, 0.7, 1.0) buffers: ClearBuffers.ColorDepthBuffer CameraSelector { |