gainFn
function
gainFn
RayTK
v0.42
A function that expands the sides of the coordinate range and compresses the center.
Effectively what that means is that it smooths out transition from 0 to 1 in various ways.
Based on Inigo Quilez’s article.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Exponent | Runtime | Baked |
Inputs
-
Exponent Field: (optional)- Coordinate Types:
float - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float
- Coordinate Types: