---
title: "Distance"
canonical: "https://documentation.chaos.com/space/VBLD/117638471/Distance"
format: markdown
---
This page provides information about the Distance utility texture in V-Ray for Blender. Overview V-Ray Distance   is a V-Ray-specific procedural texture that returns a different color based on a point's distance from an object(s) specified in a selection list. UI Path:  ||V-Ray Node Editor|| >  Shader  >  Add  >  Texture Utilities  >  V-Ray Distance Node Input Sockets This section describes the input sockets of the node. Some sockets have dedicated parameters, which are further described below, and some sockets are just inputs. Distance  – Accepts a float node to determine the distance value. Near Color  – Allows a color node to be connected. Inside Color  – Allows a color node to be connected. Outside Color  – Allows a color node to be connected. Objects  – Accepts a Selector node to apply Distance to. Properties Distance  –  Specifies a radius, outside which all points are given the  Far color . Far Color  –  Specifies the color returned by the texture for points that are at a distance greater than the  Distance  parameter from the objects specified in the  Objects  selectors. Near Color  –  Specifies the color returned by the texture for points that are right at the edges of the object(s) specified in the  Objects  selectors. For points that are outside or inside the objects but not exactly next to them, the color is determined by blending between the Near color and the  Far color , and the  Distance  serves as a falloff radius. Inside Separate  –  When enabled, the Near color value is overridden by the  Inside color  value for points that are inside the specified geometry. Inside Solid  –  When enabled, all the points inside the specified geometry are given the  Inside color  value, and no blending is performed. Inside Color  –  Specifies the color returned by the texture for points that are inside the object(s) specified in the  Objects  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  Distance  serves as a falloff radius.  Outside Separate  –  When enabled, the  Near color  value is overridden by the  Outside color  value for points that are outside the specified geometry. Outside Solid  –  When enabled, all the points outside the specified geometry are given the  Outside color  value, and no blending is performed. Outside Color  –  Specifies the color returned by the texture for points that are outside the object(s) specified in the list. Objects  – This section determines which objects/collections from the scene are considered when calculating Distance. You can add items by dragging and dropping them into the corresponding field, by selecting them with the eyedropper, or by adding them into the Node Editor with a  Selector node  and linking them to the  Objects  input socket.