set_color_ramp_interpolation
Control how colors blend between stops in a ColorRamp node. Choose CONSTANT for hard-edged bands, LINEAR for smooth, or EASE/B_SPLINE for softer falloff, with optional HSV/HSL color modes.
Instructions
Set how a ColorRamp blends between its stops.
'CONSTANT' gives hard-edged bands with no blending, which is what turns a noise or voronoi texture into discrete regions: scale plates, cracked mud, stylised cel shading. 'EASE' and 'B_SPLINE' give softer falloff than 'LINEAR'. Set color_mode to 'HSV' to sweep through hues between two stops rather than blending through grey.
Args: material_name: Name of the material. node_name: Name of the ColorRamp node. interpolation: One of EASE, CARDINAL, LINEAR, B_SPLINE, CONSTANT. color_mode: Optional. One of RGB, HSV, HSL. Omit to leave unchanged.
Returns: Dict with the applied interpolation and color mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| color_mode | No | ||
| interpolation | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||