PlasticStructuredRedMaterial QML Type

Structured red plastic material. More...

Import Statement: import QtQuick3D.Materials 1.15

Detailed Description

The structured plastic material has the following properties:

Property NameProperty TypeDescription
uEnvironmentMappingEnabledboolDoes the material use an environment map. Default is true.
uShadowMappingEnabledboolDoes the material use a baked shadow map. Default is false.
roughnessrealRoughness of the material. Range is [0, 1], with 0 being totally reflective. Default is 0.25.
material_iorrealIndex of refraction for the material. Sensible range for different types of plastic is [1.4, 1.6]. Default is 1.46.
intensityrealThe intensity of the emission. Default is 1.0.
texture_scalingrealScale of the texture map. Default is 0.1.
bump_factorrealStrength of the bumpiness. Default is 0.4.
diffuse_colorvector3dBase color of the material. Default is Qt.vector3d(0.451, 0.04, 0.035).
uEnvironmentTextureTextureInputThe environment texture map. Enabled when uEnvironmentMappingEnabled is true. Default is a Texture with source "maps/spherical_checker.png".
uBakedShadowTextureTextureInputThe baked shadow texture map. Enabled when uShadowMappingEnabled is true. Default is a Texture with source "maps/shadow.png".
randomGradient1DTextureInputA texture map used to create the random bumpiness of the material together with randomGradient2D, randomGradient3D, and randomGradient4D. Default is a Texture with source "maps/randomGradient1D.png".
randomGradient2DTextureInputA texture map used to create the random bumpiness of the material together with randomGradient1D, randomGradient3D, and randomGradient4D. Default is a Texture with source "maps/randomGradient3D.png".
randomGradient3DTextureInputA texture map used to create the random bumpiness of the material together with randomGradient1D, randomGradient2D, and randomGradient4D. Default is a Texture with source "maps/randomGradient3D.png".
randomGradient4DTextureInputA texture map used to create the random bumpiness of the material together with randomGradient1D, randomGradient2D, and randomGradient3D. Default is a Texture with source "maps/randomGradient4D.png".

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.