rescaleField

Shortcuts:
  • rf
Keywords:
  • range
  • remap
  • rescale
filter
rescaleField
RayTK
v0.40

Rescales the values produced by a field.

This is equivalent to the “Range” parameters in a Math CHOP.

It works for either float value fields or vector fields. When using a float value field, only the first part of each of the range parameters is used.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Input Low

The low end of the expected input values.

Runtime Baked
Input High

The high end of the expected input values.

Runtime Baked
Output Low

The low end of the rescaled value range.

Runtime Baked
Output High

The high end of the rescaled value range.

Runtime Baked
Return Type
  • Auto:
  • Float:
  • Vector:
Multiply Runtime Baked
Multiply Runtime Baked
Post Add Runtime Baked

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4