Skip to content
07-848 2005

V-Ray for SketchUp, textures

V-Ray Cloth texture

Create a procedural cloth texture in V-Ray for SketchUp and adjust its weave, colour and placement.

On this page
  1. Overview
  2. UI paths
  3. Parameters
  4. Example: U Color, V Color and Gap Color
  5. Example: U Width and V Width
  6. Wave
  7. Example: U Wave and V Wave
  8. Example: Random Wave
  9. Color Manipulation
  10. Multipliers
  11. Texture Placement
  12. 2D (UV Channel)
  13. Environment
  14. Texture Remapping
  15. Mapping Source
  16. Notes

Use the V-Ray Cloth texture in SketchUp to create fabric with a loose or tight weave.

Overview

The Cloth texture map generates a procedural cloth texture. You can adjust the weave density and random weave distortion, and connect its channels to texture maps.

Replace With New Texture icon.
V-Ray Cloth texture preview showing grey and blue woven fibres on a material sample.

UI paths

||V-Ray Asset Editor|| > Textures (right-click) > Cloth

||V-Ray Asset Editor|| > Create Asset (left-click) > Textures > Cloth

Parameters

Color Gap controls the colour of the gaps between fabric fibres. A selected texture overrides the colour while the texture checkbox is enabled.

Color U controls the horizontal thread colour. You can use a texture map when the checkbox is enabled.

Color V controls the vertical thread colour. See the U Color, V Color and Gap Color example below. You can use a texture map when the checkbox is enabled.

Random Shade uses noise to vary the texture brightness. You can use a texture map when the checkbox is enabled.

Width U controls the horizontal thread width. You can use a texture map when the checkbox is enabled.

Width V controls the vertical thread width. See the U Width and V Width example below. You can use a texture map when the checkbox is enabled.

Random Width uses noise to vary the fibre width. You can use a texture map when the checkbox is enabled.

Cloth Parameters panel with Color Gap, Color U, Color V, Random Shade, Width U, Width V and Random Width controls.

Example: U Color, V Color and Gap Color

Cloth texture on a sphere with yellow vertical fibres, magenta horizontal fibres and green gaps.

Gap Color

=

Green

U Color:

Pink;

V Color

=

Yellow

Cloth texture on a sphere with red vertical fibres, blue horizontal fibres and black gaps.

Gap Color

=

Black

U Color:

Blue;

V Color

=

Red

Example: U Width and V Width

Cloth texture preview showing wide, interwoven grey fibres and narrow black gaps on a sphere.

U Width

= 0.75

,

V Width

= 0.75

V-Ray Cloth preview with wide vertical threads and narrow horizontal threads woven over a sphere.

U Width

=

0.75,

V Width

=

0.25

V-Ray Cloth preview with wide horizontal threads and narrow vertical threads woven over a sphere.

U Width

=

0.25,

V Width

=

0.75

V-Ray Cloth preview with narrow vertical and horizontal threads and large black gaps between them.

U Width: =

0.25,

V Width

=

0.25

Wave

Wave U controls the amount of wave in the horizontal direction. You can use a texture map when the checkbox is enabled.

Wave V controls the amount of wave in the vertical direction. See the U Wave and V Wave example below. You can use a texture map when the checkbox is enabled.

Random Wave uses noise to vary the waves. See the Random Wave example below. You can use a texture map when the checkbox is enabled.

Wave panel with Wave U, Wave V and Random Wave set to 0, plus texture map slots and ticked checkboxes.

Example: U Wave and V Wave

V-Ray Cloth preview with narrow vertical and horizontal threads and large black gaps between them.

U Wave

=

0,

V Wave

=

0

V-Ray Cloth preview with wavy vertical threads and straight horizontal threads woven over a sphere.

U Wave

=

0.25,

V Wave

=

0

V-Ray Cloth preview with wavy vertical and horizontal threads woven over a sphere.

U Wave

=

0.25,

V Wave

=

0.25

V-Ray Cloth texture on a sphere showing the U Wave and V Wave example at 0.25.

U Wave

=

0.25,

V Wave

=

0.25,

Randomness

= 1

Example: Random Wave

V-Ray Cloth preview with narrow vertical and horizontal threads and large black gaps between them.

Random Wave

=

0

V-Ray Cloth texture on a sphere showing the U Wave and V Wave example at 0.25.

Random Wave

=

0.1

V-Ray Cloth texture on a sphere showing wavy woven strands with Random Wave set to 0.1.

Random Wave

=

0.2

V-Ray Cloth texture on a sphere showing thin, irregular woven strands with Random Wave set to 0.2.

Random Wave

=

0.2,

Width Spread

=

0.25

Color Manipulation

Invert Texture inverts the RGB texture values.

Alpha from Intensity uses the texture's RGB intensity or luminance as the alpha channel.

Color Gain adjusts the texture colour by multiplying its RGB values by the RGB values you specify here. You can also assign a texture map.

Color Offset adjusts the texture colour by adding the RGB values you specify here to the texture's RGB values. You can also assign a texture map.

Default Color sets the colour for polygons without valid UVs. If the map is not tiled, it also sets the colour outside the texture square. A selected texture overrides the colour while the texture checkbox is enabled.

Color Manipulation panel showing Color Gain, Color Offset and Default Color controls.

Multipliers

Mode sets the multiplication mode for the colours.

Multiply uses black for blending.
Blend Amount uses the colour specified in the colour slot for blending.

Gap Color blends between a colour and a texture, if you specify one.

Color U blends between a colour and a texture, if you specify one.

Color V blends between a colour and a texture, if you specify one.

Multipliers panel with Mode set to Multiply and Gap Color, Color U and Color V all set to 1.

Texture Placement

Type controls how the texture is positioned on the geometry.

2D (UV Channel) uses the object's UV coordinates.
Environment applies when the map is connected to an Environment slot or a Dome light.
Texture Remapping uses UVW values from a colour texture or separate greyscale textures.
Mapping Source uses an external UV placement source.

2D (UV Channel)

UV Channel/Set sets the index of the mapping channel data to use. A value of 1 uses the first available channel.

Repeat U/V sets how many times the texture repeats within the 0 to 1 UV square.

Lock U/V Repeat locks the U/V Repeat.

Offset U/V controls the texture offset in the U and V directions.

Rotate rotates the texture in degrees.

Tile U/V tiles the texture in the U and V directions. When disabled, it uses the Default texture colour outside the 0 to 1 UV square. Find the default colour under Parameters > Color Manipulation.

Mirror U/V mirrors the texture separately in the U and V directions. It cuts the texture in half and flips one side vertically or horizontally. Use it to avoid seams when repeating textures that do not tile.

Texture Placement panel set to 2D (UV Channel), with UV channel 1, Tile U/V enabled and Mirror U/V disabled.

2D (UV Channel) parameters

Environment

Mapping sets the texture type and shape.

Angular
Cubic
Spherical
Spherical Inverted
Mirror Ball
Screen

Rotate H rotates the environment sphere horizontally.

Flip H flips the environment sphere horizontally.

Rotate V rotates the environment sphere vertically.

Flip V flips the environment sphere vertically. It is active only in Spherical Mapping.

Ground enables ground projection of the texture.

Position X/Y/Z offsets the ground projection along the X/Y/Z axis.
Radius sets the projection radius. Use it to control the projection scale.

For 2d Transformation, see the 2D (UV channel) parameters.

Environment panel with Spherical mapping, Ground switched off and 2d Transformation controls.

Environment parameters

Texture Remapping

Mode sets whether to use a single texture or multiple textures to remap the U and V texture coordinates.

UV uses the input texture's Red channel for the U sampling coordinate and its Green channel for the V coordinate.

U uses this texture's value for the U sampling coordinate.

V uses this texture's value for the V sampling coordinate.

Texture Remapping panel in U / V Inputs mode, with separate U and V texture slots and coordinate controls.

Texture Remapping parameters

Mapping Source

UV Placement Source sets the external UV placement source for the texture.

Mapping Source panel showing the UV Placement Source texture slot.

Mapping placement parameters

Notes

  • Use the same value for U Wave and V Wave to create diagonal effects. Use higher values in the Width Spread channel to create a loose weave.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.