Table of Contents

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

float

Contrast

The contrast level of the picture - values between -5 and 5

public float Contrast { get; set; }

Property Value

float

Hue

The color hue rotation of the picture - values between 0 and 360

public float Hue { get; set; }

Property Value

float

MinShaderModel

The minimum shader model version required to use this shader

public static Version MinShaderModel { get; }

Property Value

Version

Saturation

The color saturation level of the picture - values between -5 and 5

public float Saturation { get; set; }

Property Value

float

Methods

OnEngineSet()

Hook that is called when Engine is set for the first time.

protected override void OnEngineSet()