Woven Cloth
The Woven cloth material contains presets for many common types of fabrics and allows the creation of a customized cloth material without using an external image-processing tool, such as Photoshop. Customized cloth patterns can also be used by importing a texture.
Video captions: Create a woven cloth material and assign it to a geometry. Open the Procedural Weaving Texture settings and select Triplanar for the Texture Mode. Open the Woven Cloth Material settings. The Diffuse Color defines the diffuse base color of a material. Darkening controls the intensity of the diffuse component. Values above 1 darken the material, while the values below brighten it up. All this is linked to the viewing angle. The more directly you look at a face, the less this effect becomes visible. Warp Yarn Color or Weft Yarn Color define the coloring of the gun. Within Cloth Presets, you can choose from a variety of fabric presets. The Weaving Pattern defines how the pattern was woven. Yarn Types controls the type of fibre of the material. Your can choose between Staple Yarn and Filament Yarn. Staple Yarn simulates a yarn that is made of many tiny threads. Use this type for rough fabrics, such as denim. Filament Yarn simulates made up of one single, untwisted virtual yarn. Use this yarn for shiny types of fabric like silk. The Yarn Twist Angle determines the glossiness of the yarn and is linked to the choice of yarn type. Highlight width defines the width of the glossy highlights on the yarn segments. Exposure sets the brightness of the glossy component. Noise Intensity applies a natural noise effect for matte surfaces. Use with Staple Yarn is recommended. Moire Removal, the higher its value the more the Moire pattern is softened. If set too high, the structure will be softened and the surface information might get lost.
Woven Cloth Material
Diffuse Color - Defines the base color by setting the shader diffuse reflection color. This is the color the shader takes on when the light reflection of the surface is spread in many directions. Use the slider to change the brightness. Click the color field on the right to open the color chooser. Assigning a texture to the diffuse color projects it onto the surface. The appearance is a combination of the defined color and the assigned texture.
Darkening - Controls the appearance of the diffuse component. The default darkening value of 1.0 corresponds with a perfectly diffuse surface. Higher values than 1.0 darken the material, lower values brighten it up.
Warp/Weft Yarn Color - Sets the color of the vertical (warp) and horizontal (weft) yarn. Use the sliders to change the brightness. Click the color field on the right to open the related color chooser. It is best practice to use similar colors for warp and weft yarn.
Cloth Presets - Sets a handpicked material preset, which is also available in the VRED Example Assets in the Asset Manager. The parameters change automatically when a cloth preset is selected.
Weaving Pattern - Defines how the yarn is woven to cloth.
Yarn Type - Defines the glossiness of the yarn.
- Staple Yarn - Simulates yarn that is made up of many tiny threads. Use this type for rough types of clothes such as denim.
- Filament Yarn - Simulates yarn that is made up of one single untwisted, virtual yarn. Use this type for shiny types of clothes such as silk.
Yarn Twist Angle - Determines the glossiness of the yarn and depends on the choice made in the yarn type.
Highlight Width - Defines the width of the glossy highlight on the yarn segments.
Exposure - Defines the brightness of the glossy component.
Noise Intensity - Sets a natural noise effect for matt surfaces (staple yarn is recommended).
Moiré Removal - Softens the moiré pattern. The higher the value, the more effective the moiré pattern is softened. If too high, any structure is softened and surface information might get lost.
Warp Yarn Curvature - Defines the curvature of the vertical (warp) yarn.
Weft Yarn Curvature - Defines the curvature of the horizontal (weft) yarn.
Procedural Weaving Texture
The procedural BTF is highly dependent on how the weaving pattern is mapped onto the object’s surface. The texture mapping controls size and direction of the yarn and therefore its reflection behavior.
Mapping Type - Sets the texture projection mode, either UV coordinates or Triplanar mode. If the object already contains an UV mapping, UV coordinates are used. Triplanar generates a new mapping from scratch.
When the Mapping Type is set to UV, UV information for the texture projection is used. You can set the following parameters:
Repeat UV - Defines the number of repetitions of the texture along the UVs, when the texture mode is set to UV Coordinates.
Rotate - Defines rotation angle of the texture along the UVs, when the texture mode is set to UV Coordinates.
When the Mapping Type is set to Triplanar, the triplanar projection mode is activated, regardless of any UV information. You can set the following parameters:
X Repeat UV - Sets the UV repeat factors for the x-axis of the triplanar texture projection.
X Offset UV - Sets the UV offset for the x-axis of the triplanar texture projection.
X Rotate - Sets the rotation value for the x-axis texture coordinates of the triplanar texture projection.
Y Repeat UV - Sets the UV repeat factors for the y-axis of the triplanar texture projection.
Y Offset UV - Sets the UV offset for the y-axis of the triplanar texture projection.
Y Rotate - Sets the rotation value for the y-axis texture coordinates of the triplanar texture projection.
Z Repeat UV - Sets the UV repeat factors for the z-axis of the triplanar texture projection.
Z Offset UV - Sets the UV offset for the z-axis of the triplanar texture projection.
Z Rotate - Sets the rotation value for the z-axis texture coordinates of the triplanar texture projection.
Yarn Texture
Use Texture - Loads an image texture for the yarn. The image is used as a pattern on the surfaces.
The yarn textures settings are identical with the settings for the diffuse texture. For further information on the Texture settings, refer to the General Truelight Material Diffuse Texture section.
For further information on the other attributes, see the following: