Table of Contents

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



Properties


DistanceSpecifies a radius, outside which all points are given the Far color.

Far colorSpecifies 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 colorSpecifies 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 SeparateWhen enabled, the Near color value is overridden by the Inside color value for points that are inside the specified geometry.

Inside SolidWhen enabled, all the points inside the specified geometry are given the Inside color value, and no blending is performed.

Inside colorSpecifies 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 SeparateWhen enabled, the Near color value is overridden by the Outside color value for points that are outside the specified geometry.

Outside SolidWhen enabled, all the points outside the specified geometry are given the Outside color value, and no blending is performed.

Outside colorSpecifies the color returned by the texture for points that are outside the object(s) specified in the list.

ObjectsSpecifies the Objects and/or Collections to be considered when calculating the colors for each point in the texture.



Was this helpful?