Class PostSepiaShader
- Namespace
- OmegaEngine.Graphics.Shaders
- Assembly
- OmegaEngine.dll
A post-screen shader that creates an "old paper" look.
public class PostSepiaShader : PostShader, IDisposable
- Inheritance
-
PostSepiaShader
- Implements
- Inherited Members
- Extension Methods
Properties
Desaturation
How strongly to turn the image it into grayscale - values between 0 and 1
public float Desaturation { get; set; }
Property Value
MinShaderModel
The minimum shader model version required to use this shader
public static Version MinShaderModel { get; }
Property Value
PaperTone
The color to give the image after turning it into grayscale
public Color PaperTone { get; set; }
Property Value
StainTone
The color of the image stains
public Color StainTone { get; set; }
Property Value
Toning
How strongly to apply the PaperTone color - values between 0 and 1
public float Toning { get; set; }
Property Value
Methods
OnEngineSet()
Hook that is called when Engine is set for the first time.
protected override void OnEngineSet()