diff options
Diffstat (limited to 'qml')
-rw-r--r-- | qml/BackgroundCubeMap.qml | 5 | ||||
-rw-r--r-- | qml/Cinematic3DScene.qml | 1 | ||||
-rw-r--r-- | qml/Cover3D.qml | 5 | ||||
-rw-r--r-- | qml/EnvMappedBoxGLES2ShaderProgram.qml | 1 | ||||
-rw-r--r-- | qml/Sphere3D.qml | 1 | ||||
-rw-r--r-- | qml/TextureBox3D.qml | 5 |
6 files changed, 18 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 diff --git a/qml/Cinematic3DScene.qml b/qml/Cinematic3DScene.qml index d4dfa38..b8af5aa 100644 --- a/qml/Cinematic3DScene.qml +++ b/qml/Cinematic3DScene.qml @@ -41,6 +41,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 import QtQuick 2.4 as QQ2 +import Qt3D.Extras 2.0 Entity { id: root diff --git a/qml/Cover3D.qml b/qml/Cover3D.qml index f9d5057..c449f8a 100644 --- a/qml/Cover3D.qml +++ b/qml/Cover3D.qml @@ -41,6 +41,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 import QtQuick 2.4 as QQ2 +import Qt3D.Extras 2.0 Entity { id: entity @@ -86,6 +87,8 @@ Entity { techniques: [ Technique { + filterKeys: FilterKey { name: "renderingStyle"; value: "forward" } + graphicsApiFilter { api: GraphicsApiFilter.OpenGL profile: GraphicsApiFilter.NoProfile @@ -103,6 +106,8 @@ Entity { } }, Technique { + filterKeys: FilterKey { name: "renderingStyle"; value: "forward" } + graphicsApiFilter { api: GraphicsApiFilter.OpenGLES profile: GraphicsApiFilter.NoProfile diff --git a/qml/EnvMappedBoxGLES2ShaderProgram.qml b/qml/EnvMappedBoxGLES2ShaderProgram.qml index e4183d8..a610580 100644 --- a/qml/EnvMappedBoxGLES2ShaderProgram.qml +++ b/qml/EnvMappedBoxGLES2ShaderProgram.qml @@ -39,6 +39,7 @@ ****************************************************************************/ import Qt3D.Render 2.0 +import Qt3D.Extras 2.0 ShaderProgram { vertexShaderCode: " diff --git a/qml/Sphere3D.qml b/qml/Sphere3D.qml index f5a89a3..581dcda 100644 --- a/qml/Sphere3D.qml +++ b/qml/Sphere3D.qml @@ -40,6 +40,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 +import Qt3D.Extras 2.0 Entity { id: entity diff --git a/qml/TextureBox3D.qml b/qml/TextureBox3D.qml index 9440813..aafb7c4 100644 --- a/qml/TextureBox3D.qml +++ b/qml/TextureBox3D.qml @@ -41,6 +41,7 @@ import Qt3D.Core 2.0 import Qt3D.Render 2.0 import QtQuick 2.4 as QQ2 +import Qt3D.Extras 2.0 Entity { id: entity @@ -82,6 +83,8 @@ Entity { techniques: [ Technique { + filterKeys: FilterKey { name: "renderingStyle"; value: "forward" } + graphicsApiFilter { api: GraphicsApiFilter.OpenGL profile: GraphicsApiFilter.NoProfile @@ -99,6 +102,8 @@ Entity { } }, Technique { + filterKeys: FilterKey { name: "renderingStyle"; value: "forward" } + graphicsApiFilter { api: GraphicsApiFilter.OpenGLES profile: GraphicsApiFilter.NoProfile |