This page provides information about the V-Ray Gradient Texture Component in V-Ray for Grasshopper.
Overview
V-Ray Gradient is a texture consisting of a number of color/position pairs with specific interpolation rule that form a colorful image.
Input Parameters
Type (Integer) – Controls the direction and the shape of the gradient ramp. Changing the type does not affect the color and position of the control points.
Interpolation (Integer) – Changes the color interpolation method. Changing the option changes the color transition curve between the control point None - Disables the transition.
Colors (Color) – Controls point colors. One per position.
Positions (Number) – Position of the control point in a normalized domain. One per color.
UVW (Generic Data) – Specifies the texture placement within the UVW space of the object.
Output Parameters
V Tex (Generic Data) – V-Ray texture that is plugged into a V-Ray material or other components that require texturing.
Example:
Download the GH definition here.
Notes
- There are no UVs in Grasshopper. For best results, use "Brep" objects from Rhino, which contain UVs.