summaryrefslogtreecommitdiffstats
path: root/src/quick3d/imports/render/qt3dquick3drendererplugin.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-07-30 11:44:59 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-07-30 11:46:48 +0000
commit162543b1d55d680cbe630a7ed25d9bc6c72a5437 (patch)
tree8c0f1f7411369c827b85cc89856fefa815e94d69 /src/quick3d/imports/render/qt3dquick3drendererplugin.cpp
parent936b8a7c1bece78d7f8b8e99aa0809520ac3c8cf (diff)
Add a simple unlit textured material
This is useful for backgrounds or other simple texturing use cases where lighting is not desired. Also includes a texture coordinate offset property so the texture coordinates can easily be animated. C++ version to follow later. Change-Id: I8f6eba1ce28402bf59a18989884640018f473320 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/quick3d/imports/render/qt3dquick3drendererplugin.cpp')
-rw-r--r--src/quick3d/imports/render/qt3dquick3drendererplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick3d/imports/render/qt3dquick3drendererplugin.cpp b/src/quick3d/imports/render/qt3dquick3drendererplugin.cpp
index bb01333f8..d9c2dff3a 100644
--- a/src/quick3d/imports/render/qt3dquick3drendererplugin.cpp
+++ b/src/quick3d/imports/render/qt3dquick3drendererplugin.cpp
@@ -130,6 +130,7 @@ static const struct {
{ "NormalDiffuseSpecularMapMaterial", 2, 0 },
{ "PerVertexColorMaterial", 2, 0 },
{ "GoochMaterial", 2, 0 },
+ { "TextureMaterial", 2, 0 },
// FrameGraphs
{ "ForwardRenderer", 2, 0 },
// Entities