|On this page|
This can be desirable for texture shading where a high-frequency lookup may give aliasing artifacts.
Connect the outputs of the Ramp Parameter to the Ramp Filter’s inputs this way:
Ramp Parameter output
Ramp Filter input
Filter width override
Controls the size of the anti-aliasing filter. In some contexts the node
can choose a proper width based on the available global variables. In
other contexts, such as SOPs, the width will default to
0. If you
connect a node to the input, the input value will be used even if the
node can deduce a default width automatically.
The amount of anti-alias blurring to add to the output value.
The datatypes of the position input and the ramped output.
Whether to filter the output. When this checkbox is off, the inputs are passed through unchanged. This may be useful for debugging.
The color/coordinate space in which the ramp operates.
The gamma to apply to the ramp output.
The range of values the ramp applies to. For example, when the range is
1, the leftmost value on the ramp represents
0, and the
rightmost value on the ramp represents
1. The node computes the
results of inputs outside this range according to the “extend” parameters
How to compute the result for inputs below/above the ramp’s range.
Returns the value at the nearest end of the ramp (for example, if the
ramp’s range is
0-1, and the input is
-10, it will return the
ramp value for
Repeats the ramp continuously outside the range.
Like “Cycle”, but starts each cycle relative to the end value of the previous cycle.
Cycles before/after the range are mirror images (reversed) of one another. The first cycle is not mirrored.
Extends a line using the slope at the beginning/end of the ramp range.
The type of filtering to use. The default is “Point” meaning no filtering.
When Filter is “Box” or “Gaussian”, controls the scale of the filter effect.