---
title: "Distance Node"
canonical: "https://documentation.chaos.com/space/VC4D/116851030/Distance+Node"
format: markdown
---
This page provides information about the Distance node in V-Ray for Cinema 4D.


## **Overview**

---

<span style="color: #000000">The</span> <span style="color: #000000">Distance</span> node <span style="color: #000000">returns a different color based on a point's distance to objects specified in a selection list.</span>


![image](media://ae116996-2d67-47b7-b424-61f083661a89)



## **Parameters**

---

 

**Distance **– <span style="color: #000000">Specifies a radius, outside which all points are given the </span><span style="color: #000000">**Far Color**</span><span style="color: #000000">.</span>

**Far Color** – <span style="color: #000000">Specifies the color returned by the texture for points that are at a distance greater than the radius parameter from the objects specified in the list.</span>

**Near Color **– <span style="color: #000000">Specifies the color returned by the texture for points that are right at the edges of the objects specified in the list. For points that are outside or inside the objects but not exactly next to the them, the color is determined by blending between the Near Color and the </span><span style="color: #000000">**Far Color**</span><span style="color: #000000"> and the </span><span style="color: #000000">**Distance**</span><span style="color: #000000"> serves as a falloff radius. </span>

**Inside Separate** – <span style="color: #000000">When enabled, the </span><span style="color: #000000">**Near Color**</span><span style="color: #000000"> value is overridden by the </span><span style="color: #000000">**Inside Color**</span><span style="color: #000000"> value for points that are inside the specified geometry.</span>

**Inside Solid** – <span style="color: #000000">When enabled, all the points inside the specified geometry are given the </span><span style="color: #000000">**Inside Color**</span><span style="color: #000000"> value and no blending is performed.</span>

**Inside Color** – <span style="color: #000000">Specifies the color returned by the texture for points that are right inside the objects specified in the list. For points that are inside the objects but not exactly next to them, the color is determined by blending between the Inside Color and the Far Color and the </span><span style="color: #000000">**Distance**</span><span style="color: #000000"> serves as a falloff radius.</span>

**Outside Separate** – <span style="color: #000000">When enabled, the </span><span style="color: #000000">**Near Color**</span><span style="color: #000000"> value is overridden by the </span><span style="color: #000000">**Outside Color**</span><span style="color: #000000"> value for points that are outside the specified geometry.</span>

**Outside Solid** – <span style="color: #000000">When enabled, all the points outside the specified geometry are given the </span><span style="color: #000000">**Outside Color**</span><span style="color: #000000"> value and no blending is performed.</span>

**Outside Color** – <span style="color: #000000">Specifies the color returned by the texture for points that are outside the objects specified in the list. </span>

<span style="color: #000000">**Add Object Link**</span><span style="color: #000000"> – Creates an additional slot for an </span><span style="color: #000000">**Object**</span><span style="color: #000000">, to which V-Ray Distance Node is applied.</span>

<span style="color: #000000">**Remove Object Link**</span><span style="color: #000000"> – Removes the selected </span><span style="color: #000000">**Object Link**</span><span style="color: #000000">.</span>

**Object **– <span style="color: #000000">Specifies a set of objects to be considered when calculating the colors for each point in the texture.</span>

<span style="color: #000000">**Include Children**</span><span style="color: #000000"> – When enabled, any objects that are children of a linked </span><span style="color: #000000">**Object**</span><span style="color: #000000"> are included as well.</span>


![image](media://f34f9cd8-5bfb-426c-a45d-c7524ed48922)