---
title: "Granite"
canonical: "https://documentation.chaos.com/space/VRHINO/116130086/Granite"
format: markdown
---
This page contains information about the V-Ray Granite Texture.


## **Overview**

---

The Granite texture map generates a procedural Granite texture. It uses four colors that can be changed or assigned to texture maps.

> ✅ Any texture can be replaced via the **Replace With New Texture** (> Macro (inline-media-image)
> ✅ 
> ✅ ) button, which activates when you select the texture to be replaced. If the texture is an instance, all copies are changed as well.

![image](media://f36f30e8-e1bc-4bda-84b0-ebaf95550366)



## **UI Paths**

---

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

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

 

 

## **Parameters**

---

**Color Base** – Specifies the color that fills in the area surrounding the spots. *A texture map can be used for all parameters in this section, as long as the checkbox is enabled. *

**Color A** – Specifies the first color of the spots. 

**Color B** – Specifies the second color of the spots.

**Color C** – Specifies the third color of the spots. 

**Cell Size** – Controls how large or small the cells are. *See the **[Cell Size example](#Size)** below.*

**Density** – Controls how closely packed the spots are. *See the **[Density example](#Density)** below.*

**Mix Ratio** – Controls the prominence of each color relative to the others. *See the **[Mix Ratio example](#MixRatio)** below*.

**Threshold **– Controls the transition between the filler color and Color 1, Color 2, and Color 3. 

**Spottiness **– Controls how circular the spots are. Lower values make the spots more circular, and higher values make them less circular. 

**Randomness **– Varies the distribution of the spots on the granite. Lower values show more spots, higher values also make them more sparse. *See the **[Randomness example](#Randomness)** below.*

**Creases **– Enables or disables crease patterns.


### **Color Manipulation**

---

**Invert Texture **–**  **Inverts the RGB texture values. 

**Alpha from Intensity **– Uses the texture RGB intensity/luminance as alpha channel. 

**Color Gain **– ** **Corrects the color of the texture by multiplying the RGB color values in the texture with the RGB color values specified here. When a texture is selected, it overrides the color as long as the texture checkbox is enabled. 

**Color Offset **–** **Corrects the color of the texture by adding the RGB color values specified here to the RGB color values in the texture. When a texture is selected, it overrides the color as long as the texture checkbox is enabled. 

**Default Color **–** **Specifies a default color used for polygons with no valid UVs. In case the map is not tiled, specifies a default color that is used outside the texture square.  When a texture is selected, it overrides the color as long as the texture checkbox is enabled.

![image](media://5c56cbe3-88bb-4be5-8b20-e5e7d9820025)


---

> Macro (anchor)




### **Example: Cell Size**


![granite_cellsize_0p25.png](media://270be8e9-cc5a-4a31-9dd6-73103f060909)


![granite_cellsize_0p5.png](media://488e29ed-ca9e-46ff-8389-72e8a5ceaa67)

![granite_cellsize_1.png](media://da72a43d-16ee-4d6c-9e2b-52ad02a6a9ce)


---

> Macro (anchor)




### **Example: Density**


![granite_density0p25.png](media://d12f51cb-12fb-414e-aef3-5bc201e4d999)

![granite_density0p5.png](media://3a4a446d-c569-4e96-a6c7-b3036d9131de)

![granite_density0p75.png](media://efa11096-77c7-419f-88be-b2146eec43d3)


---

> Macro (anchor)




### **Example: Mix Ratio**

These examples use a Density of 1 and a Cell Size of *0.75.*

![granite_mixratio_0p5.png](media://abbad87c-e2f4-4b5c-8fe9-0fc96423b76d)

![granite_mixratio_0p75.png](media://bcbb1a62-59de-4a72-8ae0-6948b52ff86e)

![granite_mixratio_1.png](media://e587003f-5e6a-4d54-9d1f-433bd8d7c31a)


---

> Macro (anchor)




### **Example: Spottiness**


![granite_spottiness_025.png](media://ab016807-aa2b-4277-bf4c-2b5dfbe28a9a)

![granite_spottiness_05.png](media://14a70040-8e62-45d8-ba82-3eb1cb55022d)

![granite_spottiness_1.png](media://8a46e0af-3183-4277-861b-ae3c1c70c114)


---

> Macro (anchor)




### **Example: Randomness**


![granite_randnomness_0.png](media://66bb87eb-3f14-475e-b5a3-1620b797d8c6)

![granite_randnomness_05.png](media://dd5e7d0d-f8d4-4d7e-93e0-3f6854c46c91)

![granite_randnomness_1.png](media://99494af9-49ff-4171-9da8-6166cb53415f)



## **Multipliers**

---

**Mode** – Specifies the multiplication mode of the colors. 

**Multiply **– Multiplies the RGB numbers for each pixel of the top layer with the RGB number of the corresponding pixel from the bottom layer. The result is a darker picture. The color used for blending is black.  
**Blend Amount**–**  **Takes each pixel from the top layer if present. Otherwise, the bottom layer is used. The color used for blending is the one specified in the color slot.

**Color Base** – Blends between the color base and a texture, if specified. 

**Color A** – Blends between the first color and a texture, if specified. 

**Color B** –  Blends between the second color and a texture, if specified.

**Color C** – Blends between the third color and a texture, if specified. 

![image](media://e937b03c-6857-468a-a32f-6e80f0353c79)



## **Texture Placement**

---

**Type **– Controls how the texture is positioned on the geometry.

**2D (UV Channel) **– The texture uses the object UV coordinates.  
**3D (Object Space)** – Places the texture based on the local object coordinates independent of the object UVs.  
**3D (World Space)** – Places the texture based on the world coordinates independent of the object UVs  
**Environment **– This mode is applicable if the map is connected to an Environment slot or a Dome light.  
**Texture Remapping** – Uses UVW values from a color texture or separate grayscale textures.  
**Mapping Source** – The texture uses an external UV placement source.


### **2D (UV Channel)**

---

**UV Channel/Set **– Specifies the index of the mapping channel data to use. A value of 1 takes the first available channel. 

**Repeat U/V **– Determines how many times the texture is repeated 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 direction. 

**Rotate **– Rotates the texture (in degrees). 

**Tile U/V **– Tiles the texture in the U and V direction. If the option is disabled, the Default texture color is used outside the 0 to 1 UV square. Default color is found in Parameters > Color Manipulation.

**Mirror U/V  **– Mirrors the texture in the U and V direction separately. The option cuts the texture in the half flipping one side vertically or horizontally. This can be used to avoid seams in-between non-tileable repeated textures. 

![VRay7.4.2_TexturePlacement_2D.png](media://0b73e733-06dc-4be1-95a3-c3ba5c9aced7)

*2D (UV Channel) Parameters*


### **3D (Object Space)**

---

**Repeat X/Y/Z** – Determines how many times the texture is repeated 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.

![VRay7.4.2_TexturePlacement_3DObject.png](media://46559cf7-8e31-48e7-98e9-b18a935e4ea2)

*3D (Object Space) Parameters*


### **3D (World Space)**

---

**Repeat X/Y/Z** – Determines how many times the texture is repeated 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.

![VRay7.4.2_TexturePlacement_3DWorld.png](media://35b732f7-7a10-4eec-aa6b-9faef5251d41)

*3D (World Space) Parameters*


### **Environment**

---

**Mapping **– Specifies the type and shape of the texture. 

**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. This option 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 **– Specifies a projection radius. Can be used to control the scale of the projection.  

---

**2d Transformation** – *see 2D (UV channel) parameters.*

![VRay7.4.2_TexturePlacement_Environment.png](media://a89662f4-c68c-4b80-af65-4e1b8a92a775)

*Environment Parameters*


### **Texture Remapping**

---

**Mode **– Determines whether a single or multiple textures should be used for U and V texture coordinates remapping.

**UV **– The Red input texture channel determines the U sampling coordinate. The Green input texture channel determines the V coordinate.

**U** – The value of this texture determines the U sampling coordinate.

**V **– The value of this texture determines the V sampling coordinate.

![VRay7.4.2_TexturePlacement_TextureRemapping.png](media://d0275c42-066d-4668-bc7c-10427e2fe9b2)

*Texture Remapping Parameters*


### **Mapping Source**

---

**UV Placement Source** – External UV placement source to be used for the texture placement.

![VRay7.4.2_TexturePlacement_MappingSource.png](media://1340c0f6-992b-49d8-b745-7ea87585df4f)

*Mapping Placement Parameters*