summaryrefslogtreecommitdiffstats
path: root/qml/BackgroundCubeMap.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/BackgroundCubeMap.qml')
-rw-r--r--qml/BackgroundCubeMap.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/qml/BackgroundCubeMap.qml b/qml/BackgroundCubeMap.qml
index 1c9aa8c..36cb3a8 100644
--- a/qml/BackgroundCubeMap.qml
+++ b/qml/BackgroundCubeMap.qml
@@ -40,6 +40,7 @@
import Qt3D.Core 2.0
import Qt3D.Render 2.0
+import Qt3D.Extras 2.0
Entity {
property alias cameraPosition: transform.translation
@@ -116,6 +117,8 @@ Entity {
effect: Effect {
techniques: [
Technique {
+ filterKeys: FilterKey { name: "renderingStyle"; value: "forward" }
+
graphicsApiFilter {
api: GraphicsApiFilter.OpenGLES
profile: GraphicsApiFilter.NoProfile
@@ -131,6 +134,8 @@ Entity {
}
},
Technique {
+ filterKeys: FilterKey { name: "renderingStyle"; value: "forward" }
+
graphicsApiFilter {
api: GraphicsApiFilter.OpenGL
profile: GraphicsApiFilter.NoProfile