Class HableCurve
An implementation of Hable's artist-friendly tonemapping curve. http://filmicworlds.com/blog/filmic-tonemapping-with-piecewise-power-curves/
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class HableCurve
Constructors
Name | Description |
---|---|
HableCurve() | Creates a new curve. |
Fields
Name | Description |
---|---|
segments | The three segments of the curve. |
uniforms | An instance of the HableCurve.Uniforms utility class for this curve. |
Properties
Name | Description |
---|---|
inverseWhitePoint | The inverse of the white point. |
whitePoint | The white point. |
x0 | The start of the linear section (middle segment of the curve). |
x1 | The end of the linear section (middle segment of the curve). |
Methods
Name | Description |
---|---|
Eval(float) | Evaluates a point on the curve. |
Init(float, float, float, float, float, float) | Initializes the curve. |