aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc
diff options
context:
space:
mode:
authorJohanna Vanhatapio <johanna.vanhatapio@qt.io>2020-09-07 16:49:09 +0300
committerJohanna Vanhatapio <johanna.vanhatapio@qt.io>2020-09-08 10:54:10 +0000
commit34e5b2d0abf27812decb19ab4bc7b86448436318 (patch)
tree9426a1e1f7fe9c92dbb61d2a32938d3a5ea81904 /doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc
parent44271262d9701efca4a0bef01aff68b92a69135b (diff)
Doc: Update info about materialsqds/v1.6.0-rc2qds/1.6.0-rc2
Fixes: QDS-2753 Change-Id: I74eb64552af4ef0b222f8949291d7f6b34f0dbbb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc')
-rw-r--r--doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc
index 7d98babad7..dd10c8528f 100644
--- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc
+++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-custom-effects-materials.qdoc
@@ -160,15 +160,21 @@
for its properties in \uicontrol Properties.
\image studio-qtquick-3d-pass.png "Pass properties"
\li To execute commands during the pass, drag and drop the following
- command types from \uicontrol Library to the custom material in
+ command types from \uicontrol Library to the pass component in
\uicontrol Navigator: \uicontrol Blending, \uicontrol {Buffer Blit},
\uicontrol {Buffer Input}, \uicontrol {Cull Mode},
\uicontrol {Depth Input}, \uicontrol {Render State}, and
- \uicontrol {Set Uniform Value}. Then select the commands in the
- \uicontrol Commands field.
+ \uicontrol {Set Uniform Value}. The command components are created
+ at the same level as the pass component and automatically added to
+ the \uicontrol Commands field.
\li To allocate a buffer for the pass, drag and drop a \uicontrol Buffer
type to the custom material. Then select the buffer in the
\uicontrol Buffer field.
+ \li To add a shader to the pass, drag and drop the \uicontrol Shader
+ type from the \uicontrol Library to the pass component in \uicontrol
+ Navigator. The shader components are created at the same
+ level as the pass component and automatically added to the
+ \uicontrol Shaders field.
\li Select the shader components in \uicontrol Navigator to set the
paths to the shader files in the \uicontrol Source field in
\uicontrol Properties.