summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/PlanetShadowEffectD.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/planets-qml/PlanetShadowEffectD.qml')
-rw-r--r--examples/qt3d/planets-qml/PlanetShadowEffectD.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/planets-qml/PlanetShadowEffectD.qml b/examples/qt3d/planets-qml/PlanetShadowEffectD.qml
index d1b0c6994..d4ec48090 100644
--- a/examples/qt3d/planets-qml/PlanetShadowEffectD.qml
+++ b/examples/qt3d/planets-qml/PlanetShadowEffectD.qml
@@ -86,7 +86,7 @@ Effect {
}
renderStates: [
- PolygonOffset { scaleFactor: 4; units: 4 },
+ PolygonOffset { scaleFactor: 4; depthSteps: 4 },
DepthTest { depthFunction: DepthTest.Less }
]
},