summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml')
-rw-r--r--examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml b/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
index 2ba9ddcb4..880ab0b1a 100644
--- a/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
+++ b/examples/qt3d/playground-qml/AnimatedDiffuseMaterial.qml
@@ -161,13 +161,6 @@ Material {
RenderPass {
annotations: Annotation {name: "Name"; value: "ColorMaterial"}
- bindings: [ // Add only the bindings needed for a shader
- ParameterMapping {parameterName: "ambient"; shaderVariableName: "ka"; bindingType: ParameterMapping.Uniform},
- ParameterMapping {parameterName: "diffuse"; shaderVariableName: "kd"; bindingType: ParameterMapping.Uniform},
- ParameterMapping {parameterName: "lightPos"; shaderVariableName: "lightPosition"; bindingType: ParameterMapping.Uniform},
- ParameterMapping {parameterName: "lightIntensity"; shaderVariableName: "lightIntensity"; bindingType: ParameterMapping.Uniform}
- ]
-
shaderProgram: ShaderProgram {
id: diffuseShader
vertexShaderCode: loadSource("qrc:/shaders/diffuse.vert")
@@ -177,7 +170,6 @@ Material {
// TEXTURE PASS + UBO
RenderPass {
annotations : [Annotation {name : "Name"; value : "Texture" }]
- bindings: ParameterMapping {parameterName: "texture"; shaderVariableName: "tex"; bindingType: ParameterMapping.Uniform}
renderStates : [BlendEquationArguments {sourceRgb: BlendEquationArguments.One; destinationRgb : BlendEquationArguments.One},
BlendEquation {blendFunction: BlendEquation.Add},