summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/PlanetEffectDSB.qml
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-06-29 07:30:09 +0300
committerTomi Korpipää <tomi.korpipaa@theqtcompany.com>2015-06-29 06:29:27 +0000
commit1148887340389dad57bab066b06d2d0e9eacceae (patch)
tree5a933830ff5f915e92ea0c8092fd23f0402a0aaa /examples/qt3d/planets-qml/PlanetEffectDSB.qml
parent56aaa976625a2cd337ccf24b29ae563dc8292778 (diff)
Fixed planets-qml after 5.5.0 -> 5.5 merge
Change-Id: Ib4bf6b5b90b633903037084daeb70799da23f30b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/planets-qml/PlanetEffectDSB.qml')
-rw-r--r--examples/qt3d/planets-qml/PlanetEffectDSB.qml16
1 files changed, 1 insertions, 15 deletions
diff --git a/examples/qt3d/planets-qml/PlanetEffectDSB.qml b/examples/qt3d/planets-qml/PlanetEffectDSB.qml
index 78b00bd32..51de33ec4 100644
--- a/examples/qt3d/planets-qml/PlanetEffectDSB.qml
+++ b/examples/qt3d/planets-qml/PlanetEffectDSB.qml
@@ -47,8 +47,7 @@ Effect {
parameters: [
Parameter { name: "lightViewProjection"; value: root.light.lightViewProjection },
Parameter { name: "lightPosition"; value: root.light.lightPosition },
- Parameter { name: "lightIntensity"; value: root.light.lightIntensity },
- Parameter { name: "shadowMapTexture"; value: root.shadowTexture }
+ Parameter { name: "lightIntensity"; value: root.light.lightIntensity }
]
techniques: [
@@ -64,19 +63,6 @@ Effect {
renderPasses: [
RenderPass {
- annotations: [ Annotation { name: "pass"; value: "shadowmap" } ]
-
- shaderProgram: ShaderProgram {
- vertexShaderCode: loadSource("qrc:/shaders/gl3/shadowmap.vert")
- fragmentShaderCode: loadSource("qrc:/shaders/gl3/shadowmap.frag")
- }
-
- renderStates: [
- PolygonOffset { factor: 4; units: 4 },
- DepthTest { func: DepthTest.Less }
- ]
- },
- RenderPass {
annotations: [ Annotation { name : "pass"; value : "forward" } ]
bindings: [