This page contains information about the V-Ray Distance Texture.

 

Overview


V-Ray Distance is a procedural texture that returns a different color based on a point's distance to an object specified in a selection list.

 

 

 

UI Paths


||mat Network|| > V-Ray> Procedural Texture > V-Ray Distance

||out Network|| > V-Ray Render Elements node > V-Ray > Procedural Texture > V-Ray Distance



Node


The TexDistance node provides inputs for controlling various texture properties. Most correspond to parameters in the section below.

 

 

Parameters


 

 

Objects Specifies set of objects to be considered when calculating the colors for each point in the texture.

Far Color – Specifies the color returned by the texture for points that are at a distance greater than the radius parameter from the specified objects.

Near Color – Specifies the color returned by the texture for points that are right at the edges of the object(s) 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 far color and the radius serves as a falloff radius.

Distance – Specifies a radius outside which all points are given the far color.

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 right inside the object(s) 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 radius 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 right inside the object(s) 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 radius serves as a falloff radius.

 

Color Tweaks





Mult – Specifies a strength multiplier for the texture color.

Offset – Color corrects the texture by adding the the RGB color values specified here to the RGB color values in the texture.

Invert – When enabled, inverts the resulting texture color.

Alpha Tweaks




Source – Specifies where the alpha channel is drawn from.

Alpha – Alpha channel is drawn from the texture.
Color
– Alpha is generated from pixel intensity.
Opaque
– Alpha channel is fully opaque.

Use – Differentiate between textures exported from different applications. You can choose between Color Intensity (3ds Max) and Color Luminance (Maya).

Mult – Specifies a multiplier for the texture alpha.

Offset – Specifies an additional offset for the texture alpha.

Invert – When enabled and Invert from Color Tweaks is also enabled, the resulting texture alpha is inverted as well.

Page Contents ×