Use the V-Ray Granite texture in SketchUp to create a procedural granite pattern and adjust its colours, spots and mapping.
Overview
The Granite texture map creates a procedural granite pattern. You can change its four colours or assign texture maps to them.


UI paths
||V-Ray Asset Editor|| > Textures (right-click) > Granite
||V-Ray Asset Editor|| > Create Asset (left-click) > Textures > Granite
Parameters
Color Base sets the colour around the spots. You can use a texture map for any parameter in this section when its checkbox is enabled.
Color A sets the first spot colour.
Color B sets the second spot colour.
Color C sets the third spot colour.
Cell Size controls the size of the cells. See the Cell Size example below.
Density controls how closely the spots are packed. See the Density example below.
Mix Ratio controls how prominent each colour is compared with the others. See the Mix Ratio example below.
Threshold controls the transition between the filler colour and Color 1, Color 2, and Color 3.
Spottiness controls how circular the spots are. Lower values make them more circular. Higher values make them less circular. See the Spottiness example below.
Randomness changes the distribution of spots on the granite. Lower values show more spots. Higher values spread them further apart. See the Randomness example below.
Creases turns crease patterns on or off.
Color Manipulation
Invert Texture inverts the texture's RGB 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 values by the RGB values you set here. A selected texture overrides the colour while the texture checkbox is enabled.
Color Offset adjusts the texture colour by adding the RGB values you set here to the texture's RGB values. A selected texture overrides the colour while the texture checkbox is enabled.
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.

Cell Size example

Cell Size
= 0.25

Cell Size
= 0.5

Cell Size
= 1
Density example

Density
= 0.25

Density
= 0.25

Density
= 0.75
Mix Ratio example
These examples use a Density of 1 and a Cell Size of 0.75.

Mix Ratio
= 0.5

Mix Ratio
= 0.75

Mix Ratio
= 1
Spottiness example

Spottiness
= 0.25

Spottiness
= 0.5

Spottiness
= 1
Randomness example

Randomness
= 0

Randomness
= 0.5

Randomness
= 1
Multipliers
Mode sets the multiplication mode for the colours.
Multiply multiplies each top-layer pixel's RGB values by the corresponding bottom-layer pixel's RGB values. This produces a darker image. The blending colour is black.
Blend Amount uses each pixel from the top layer when available. Otherwise, it uses the bottom layer. The blending colour is the colour set in the colour slot.
Color Base blends the base colour with a texture, if you specify one.
Color A blends the first colour with a texture, if you specify one.
Color B blends the second colour with a texture, if you specify one.
Color C blends the third colour with 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) positions the texture using local object coordinates, independently of the object's UVs.
3D (World Space) positions 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 in 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 in Parameters > Color Manipulation.
Mirror U/V mirrors the texture separately in the U and V directions. It divides the texture in half and flips one side vertically or horizontally. Use this 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 axes.
Lock U/V Repeat locks the X/Y/Z repeat.
Offset X/Y/Z controls the texture offset in the X/Y/Z directions.
Rotate X/Y/Z rotates the texture around the X/Y/Z axes.

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

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 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 axes.
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. It uses the Green input texture channel to set 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 used to position the texture.

Mapping Placement parameters