rescaleFloatField
filter
rescaleFloatField
RayTK
v0.42
Simplified version of rescaleField
that only has single settings vs vectors for each.
This can be applied to either float or vector fields. In the case of vector fields, the same settings are used for all parts of the incoming vectors.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Input Range | The low/high ends of the expected input values. | Runtime | Baked |
Output Range | The low/high ends of the rescaled values. | Runtime | Baked |
Multiply | Multiplier applied to values after range scaling. | Runtime | Baked |
Post Add | Amount added to values after the other steps. | Runtime | Baked |
Inputs
-
Input field
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types: