---
title: "VRayDistanceTex"
canonical: "https://documentation.chaos.com/space/VMAYA/111740629/VRayDistanceTex"
format: markdown
---
This page provides information on the V-Ray Distance Map.


## **Overview**

---

## <span style="color: #000000">**Parameters**</span>

---

<span style="color: #000000"> </span>

---


### Example: Island


<span style="color: #000000">This example shows the VRayDistanceTex used with a Gradient map to achieve the effect of varying color on the shore. The same method is used for the land heights.</span>

![image](media://c9cab736-acf4-4288-bbf1-ae3f6df8ca5f)


<span style="color: #000000"> </span>

---


### Example: Holes


In this example the VRayDistanceTex is used as a map for [VRayDisplacement ](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111740342)in order to achieve the effect of holes on the V-Ray ball.

![image](media://48c353ee-f14e-4fad-8b12-8babc3530ef4)


---


### Example: Sand


For this example, the VRayDistanceTex is used in combination with a Gradient Ramp to achieve the "waves" in the sand.

![image](media://d3df4bc5-1626-44d4-8f9c-c8e8c57d5f03)


---


### Example: Force Field


VRayDistanceTex here is used to create a hole in the force field based on the position of the spaceship.

![image](media://fe46e30f-24ac-4c39-abca-e04fd839e6a8)


<span style="color: #000000"> </span>

---


### Example: Screw


<span style="color: #000000">In this scene, the VRayDistanceTex is once used as a Displacement map and once in a Blend material as a blend map for the two different materials.</span>

![image](media://cd278f2c-46d1-4e1b-8526-9a47e7837657)


<span style="color: #000000"> </span>

---


### Example: Tubes


VRayDistanceTex here is used as an Opacity map to make parts of the tubes "disappear".

![image](media://8e1bf5c7-eed7-42d0-90aa-46210461c2ed)