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
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 – Specifies the Objects and/or Collections to be considered when calculating the colors for each point in the texture.