Class ACESToneMapping
The role of this class is to apply the unity implementation of the ACES tonemapping to convert an HDR image to a LDR which include color correction and gamma correction.
Inherited Members
Namespace: Mechatronics.SensorSDK
Syntax
[NodeCategory("Image Processing", "ToneMappingACES", NodeTick.Asynchronous, (LifeCycle)0, 0F, NodeMode.Standard, false)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@1.0/manual/DeveloperGuide/Transcoders.html")]
public class ACESToneMapping : RenderTextureTranscoder
Methods
Disable()
Disable the change event on the inTranscode port and release graphics resources.
Declaration
public override void Disable()
Overrides
Enable(Scheduler.ClockState)
Initialize the tonemapping and enable on change event on the on inTranscode port.
Declaration
public override void Enable(Scheduler.ClockState clockState)
Parameters
Type | Name | Description |
---|---|---|
Scheduler.ClockState | clockState | The parameters of the waveform associated to this node |
Overrides
Transcode(CustomPassContext)
Add the tone mapping process to the command buffer.
Declaration
protected override void Transcode(CustomPassContext ctx)
Parameters
Type | Name | Description |
---|---|---|
CustomPassContext | ctx | Custom pass context |