These shaders provide a gradient ramp for RGB output and a spline ramp for float output. As points are added, edited or deleted on the curve or gradient, corresponding inputs are created dynamically for the position, color (or value) and interpolation. These inputs are then available to link upstream shaders so that noises and textures can be plugged in. Effects can be created by using a ramp_float shader to drive the displacement and a ramp_rgb shader to drive the color. Internally, the shaders use lazy caching of the parameters of the curves and give intermediate results. Therefore both ramp shaders are faster when not textured or when only some of the parameters are textured. 

Type

Allows you to select from built-in ramp modes (like u, v, circular, etc.) or a custom mode where the mapping is controlled by the input parameter.

Time computes the input based on the current time and the camera's start and end shutter interval. In the images below, the motion-blurred planes have a flat shader that changes colors through the shutter time.

Input

Allows the value/color of an incoming shader to be remapped.

Ramp

Gradient (ramp_rgb) and spline (ramp_float) controls to define control points. Colors can be added by clicking on the desired position on the ramp.

You can add new control points to the spline by pressing CTRL + click on the desired position. The ramp can be expanded by clicking on the small down arrow.

Interpolation

Integer array of interpolation types for each curve point. The available types are:

UV Set

An alternate UV set. If left blank, the standard UV attribute will be used. Secondary UV sets in MAXtoA are named uv_2, uv_3, and so on.

Implicit UVs

Use the implicit (barycentric) per-primitive coordinates instead of the UVs. This is mostly useful with curves where it gives coordinates varying along each hair strand.

Wrap UVs

Wraps the input UV coordinates between [0,1] so that it applies to different UV ranges or UDIMs.

 

 

  • No labels