Class PostColorCorrectionShader
- Namespace
- OmegaEngine.Graphics.Shaders
- Assembly
- OmegaEngine.dll
A post-screen shader for applying TV-like settings like brightness, contrast, hue, etc.
public class PostColorCorrectionShader : PostShader, IDisposable
- Inheritance
-
PostColorCorrectionShader
- Implements
- Inherited Members
- Extension Methods
Properties
Brightness
How bright the picture should be - values between 0 (black) and 5 (5x normal)
public float Brightness { get; set; }
Property Value
Contrast
The contrast level of the picture - values between -5 and 5
public float Contrast { get; set; }
Property Value
Hue
The color hue rotation of the picture - values between 0 and 360
public float Hue { get; set; }
Property Value
MinShaderModel
The minimum shader model version required to use this shader
public static Version MinShaderModel { get; }
Property Value
Saturation
The color saturation level of the picture - values between -5 and 5
public float Saturation { get; set; }
Property Value
Methods
OnEngineSet()
Hook that is called when Engine is set for the first time.
protected override void OnEngineSet()