Scalar Curve

 
 
 

Category: Processing > Math

Shader Family: Texture

Output: Scalar value

Creates a profile curve that you can use to control the falloff of any input value over distance. The values of the shader that is plugged into the Input port are driven by the values on the curve.

For example, this shader is used inside the Particle Gradient Fcurve compound to control the gradient falloff for particle color or density — see Particle Gradient Fcurve Compound for information.

Name

The shader name. Enter any name you like, or leave the default.

Input

The value used from whatever shader is plugged into this port and is controlled by the profile curve.

Curve

Controls the falloff of the Input value over distance.

Render Tree Usage

You can plug any scalar input into the Scalar Math Curve Input port and plug the shader output into any scalar port. If you plug the scalar output into another type, such as color, a Scalar to Color converter is automatically inserted.

For example, plug the Fractal Scalar into the Scalar Math Curve Input, then plug its output into the density_shape port of the Particle Density shader or the Particle Renderer shader compound.