diff options
Diffstat (limited to 'examples/qt3d/shadow-map-qml/GroundPlane.qml')
-rw-r--r-- | examples/qt3d/shadow-map-qml/GroundPlane.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/qt3d/shadow-map-qml/GroundPlane.qml b/examples/qt3d/shadow-map-qml/GroundPlane.qml index d78f5b07a..072e3663a 100644 --- a/examples/qt3d/shadow-map-qml/GroundPlane.qml +++ b/examples/qt3d/shadow-map-qml/GroundPlane.qml @@ -56,11 +56,13 @@ Entity { id: root property Material material - PlaneMesh { + GeometryRenderer { id: groundMesh - width: 50 - height: width - meshResolution: Qt.size(2, 2) + view: PlaneMesh { + width: 50 + height: width + meshResolution: Qt.size(2, 2) + } } Transform { |