Use the V-Ray Rock Texture to create a procedural rock texture and adjust its colours, grain and placement.
Overview
The Rock texture map generates a procedural rock texture using two colours. You can assign a texture map to each colour.


UI paths
||V-Ray Asset Editor|| > Textures (right-click) > Rock
||V-Ray Asset Editor|| > Create Asset (left-click) > Textures > Rock
Maps
Color A controls the first colour in the Rock texture. You can assign a texture map to this channel. The map overrides the colour when its checkbox is enabled.
Color B controls the second colour in the Rock texture. You can assign a texture map to this channel. The map overrides the colour when its checkbox is enabled.
Grain Size controls the size of the fine grain details.
Diffusion controls texture sharpness. Lower values sharpen the texture, while higher values blur its details.
Mix Ratio controls the mix between Source A and Source B.
Color Manipulation
Invert Texture inverts the RGB texture values.
Alpha from Intensity uses the texture's RGB intensity/luminance as the alpha channel.
Color Gain adjusts the texture colour by multiplying its RGB colour values by the RGB colour values you specify here. A selected texture overrides the colour when its checkbox is enabled.
Color Offset adjusts the texture colour by adding the RGB colour values you specify here to the texture's RGB colour values. A selected texture overrides the colour when its checkbox is enabled.
Default Color sets the colour for polygons without valid UVs. If the map is not tiled, this colour also applies outside the texture square. A selected texture overrides the colour when its checkbox is enabled.

Multipliers
Mode sets the multiplication mode for the colours.
Multiply uses black as the blending colour.
Blend Amount uses the colour specified in the colour slot.
Color A blends between a colour and a texture, if you specify one.
Color B blends between a colour and a texture, if you specify one.

Texture Placement
Type controls how the texture is positioned on the geometry.
2D (UV Channel) uses the object's UV coordinates.
3D (Object Space) places the texture using local object coordinates, independently of the object's UVs.
3D (World Space) places the texture using world coordinates, independently of the object's UVs.
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.

2D (UV Channel) parameters
3D (Object Space)
Repeat X/Y/Z sets how many times the texture repeats along the X/Y/Z axis.
Lock U/V Repeat locks the X/Y/Z repeat.
Offset X/Y/Z controls the texture offset in the X/Y/Z direction.
Rotate X/Y/Z rotates the texture around the X/Y/Z axis.

3D (Object Space) parameters
3D (World Space)
Repeat X/Y/Z sets how many times the texture repeats along the X/Y/Z axis.
Lock U/V Repeat locks the X/Y/Z repeat.
Offset X/Y/Z controls the texture offset in the X/Y/Z direction.
Rotate X/Y/Z rotates the texture around the X/Y/Z axis.

3D (World Space) parameters
Environment
Mapping sets the texture's 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 available 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's scale.
For 2d Transformation, see the 2D (UV channel) parameters.

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 Red input texture channel to set the U sampling coordinate. The Green input texture channel sets the V coordinate.
U uses this texture's value to set the U sampling coordinate.
V uses this texture's value to set the V sampling coordinate.

Texture Remapping parameters
Mapping Source
UV Placement Source sets the external UV placement source for the texture.

Mapping placement parameters
Notes
- When you combine Rock textures, use diffusion to add broad colour detail with one Rock texture and finer detail with another. Use black and white values to generate realistic bump maps.