C# Class FogWithDepthTexture, Unity_Shaders_Book

Inheritance: PostEffectsBase
Show file Open project: candycat1992/Unity_Shaders_Book

Public Properties

Property Type Description
fogColor Color
fogEnd float
fogShader Shader
fogStart float

Public Methods

Method Description
OnEnable ( ) : void
OnRenderImage ( RenderTexture src, RenderTexture dest ) : void

Method Details

OnEnable() public method

public OnEnable ( ) : void
return void

OnRenderImage() public method

public OnRenderImage ( RenderTexture src, RenderTexture dest ) : void
src RenderTexture
dest RenderTexture
return void

Property Details

fogColor public property

public Color fogColor
return Color

fogEnd public property

public float fogEnd
return float

fogShader public property

public Shader fogShader
return Shader

fogStart public property

public float fogStart
return float