Table of Contents

Class PostScratchedFilmShader

Namespace
OmegaEngine.Graphics.Shaders
Assembly
OmegaEngine.dll

A post-screen shader that creates "scratched film" effect.

public class PostScratchedFilmShader : PostShader, IDisposable
Inheritance
PostScratchedFilmShader
Implements
Inherited Members
Extension Methods

Properties

MinShaderModel

The minimum shader model version required to use this shader

public static Version MinShaderModel { get; }

Property Value

Version

ScratchIntensity

The number of scratches

public float ScratchIntensity { get; set; }

Property Value

float

ScratchWidth

The size of the scratches

public float ScratchWidth { get; set; }

Property Value

float

Speed

The horizontal speed of the scratches

public float Speed { get; set; }

Property Value

float

Speed2

The vertical speed of the scratches

public float Speed2 { get; set; }

Property Value

float

Methods

OnDispose()

Hook that is called when the object needs to dispose its internal resources.

protected override void OnDispose()

OnEngineSet()

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

protected override void OnEngineSet()