Tanoda
LightShafts Class Reference
Inheritance diagram for LightShafts:

Public Member Functions

void Start ()
 
void OnRenderObject ()
 
void UpdateLUTs ()
 
void UpdateLightType ()
 
bool CheckMinRequirements ()
 
void SetShadowmapDirty ()
 
void UpdateCameraDepthMode ()
 

Public Attributes

LightShaftsShadowmapMode m_ShadowmapMode = LightShaftsShadowmapMode.Dynamic
 
Camera[] m_Cameras
 
Camera m_CurrentCamera
 
Vector3 m_Size = new Vector3(10, 10, 20)
 
float m_SpotNear = 0.1f
 
float m_SpotFar = 1.0f
 
LayerMask m_CullingMask = ~0
 
LayerMask m_ColorFilterMask = 0
 
float m_Brightness = 5
 
float m_BrightnessColored = 5
 
float m_Extinction = 0.5f
 
float m_MinDistFromCamera = 0.0f
 
int m_ShadowmapRes = 1024
 
Shader m_DepthShader
 
Shader m_ColorFilterShader
 
bool m_Colored = false
 
float m_ColorBalance = 1.0f
 
int m_EpipolarLines = 256
 
int m_EpipolarSamples = 512
 
Shader m_CoordShader
 
Shader m_DepthBreaksShader
 
Shader m_RaymarchShader
 
Shader m_InterpolateAlongRaysShader
 
Shader m_SamplePositionsShader
 
Shader m_FinalInterpolationShader
 
float m_DepthThreshold = 0.5f
 
int m_InterpolationStep = 32
 
bool m_ShowSamples = false
 
bool m_ShowInterpolatedSamples = false
 
float m_ShowSamplesBackgroundFade = 0.8f
 
bool m_AttenuationCurveOn = false
 
AnimationCurve m_AttenuationCurve
 

Properties

bool directional [get]
 
bool spot [get]
 

Detailed Description

Definition at line 6 of file LightShafts.cs.

Member Function Documentation

◆ CheckMinRequirements()

bool LightShafts.CheckMinRequirements ( )

Definition at line 260 of file LightShafts.Resources.cs.

◆ OnRenderObject()

void LightShafts.OnRenderObject ( )

Definition at line 199 of file LightShafts.cs.

◆ SetShadowmapDirty()

void LightShafts.SetShadowmapDirty ( )

Definition at line 142 of file LightShafts.Utils.cs.

◆ Start()

void LightShafts.Start ( )

Definition at line 8 of file LightShafts.cs.

◆ UpdateCameraDepthMode()

void LightShafts.UpdateCameraDepthMode ( )

Definition at line 192 of file LightShafts.Utils.cs.

◆ UpdateLightType()

void LightShafts.UpdateLightType ( )

Definition at line 241 of file LightShafts.Resources.cs.

◆ UpdateLUTs()

void LightShafts.UpdateLUTs ( )

Definition at line 90 of file LightShafts.Resources.cs.

Member Data Documentation

◆ m_AttenuationCurve

AnimationCurve LightShafts.m_AttenuationCurve

Definition at line 66 of file LightShafts.Resources.cs.

◆ m_AttenuationCurveOn

bool LightShafts.m_AttenuationCurveOn = false

Definition at line 65 of file LightShafts.Resources.cs.

◆ m_Brightness

float LightShafts.m_Brightness = 5

Definition at line 16 of file LightShafts.Resources.cs.

◆ m_BrightnessColored

float LightShafts.m_BrightnessColored = 5

Definition at line 17 of file LightShafts.Resources.cs.

◆ m_Cameras

Camera [] LightShafts.m_Cameras

Definition at line 8 of file LightShafts.Resources.cs.

◆ m_ColorBalance

float LightShafts.m_ColorBalance = 1.0f

Definition at line 28 of file LightShafts.Resources.cs.

◆ m_Colored

bool LightShafts.m_Colored = false

Definition at line 27 of file LightShafts.Resources.cs.

◆ m_ColorFilterMask

LayerMask LightShafts.m_ColorFilterMask = 0

Definition at line 15 of file LightShafts.Resources.cs.

◆ m_ColorFilterShader

Shader LightShafts.m_ColorFilterShader

Definition at line 26 of file LightShafts.Resources.cs.

◆ m_CoordShader

Shader LightShafts.m_CoordShader

Definition at line 34 of file LightShafts.Resources.cs.

◆ m_CullingMask

LayerMask LightShafts.m_CullingMask = ~0

Definition at line 14 of file LightShafts.Resources.cs.

◆ m_CurrentCamera

Camera LightShafts.m_CurrentCamera

Definition at line 9 of file LightShafts.Resources.cs.

◆ m_DepthBreaksShader

Shader LightShafts.m_DepthBreaksShader

Definition at line 39 of file LightShafts.Resources.cs.

◆ m_DepthShader

Shader LightShafts.m_DepthShader

Definition at line 24 of file LightShafts.Resources.cs.

◆ m_DepthThreshold

float LightShafts.m_DepthThreshold = 0.5f

Definition at line 58 of file LightShafts.Resources.cs.

◆ m_EpipolarLines

int LightShafts.m_EpipolarLines = 256

Definition at line 30 of file LightShafts.Resources.cs.

◆ m_EpipolarSamples

int LightShafts.m_EpipolarSamples = 512

Definition at line 31 of file LightShafts.Resources.cs.

◆ m_Extinction

float LightShafts.m_Extinction = 0.5f

Definition at line 18 of file LightShafts.Resources.cs.

◆ m_FinalInterpolationShader

Shader LightShafts.m_FinalInterpolationShader

Definition at line 55 of file LightShafts.Resources.cs.

◆ m_InterpolateAlongRaysShader

Shader LightShafts.m_InterpolateAlongRaysShader

Definition at line 47 of file LightShafts.Resources.cs.

◆ m_InterpolationStep

int LightShafts.m_InterpolationStep = 32

Definition at line 59 of file LightShafts.Resources.cs.

◆ m_MinDistFromCamera

float LightShafts.m_MinDistFromCamera = 0.0f

Definition at line 19 of file LightShafts.Resources.cs.

◆ m_RaymarchShader

Shader LightShafts.m_RaymarchShader

Definition at line 44 of file LightShafts.Resources.cs.

◆ m_SamplePositionsShader

Shader LightShafts.m_SamplePositionsShader

Definition at line 51 of file LightShafts.Resources.cs.

◆ m_ShadowmapMode

Definition at line 6 of file LightShafts.Resources.cs.

◆ m_ShadowmapRes

int LightShafts.m_ShadowmapRes = 1024

Definition at line 21 of file LightShafts.Resources.cs.

◆ m_ShowInterpolatedSamples

bool LightShafts.m_ShowInterpolatedSamples = false

Definition at line 62 of file LightShafts.Resources.cs.

◆ m_ShowSamples

bool LightShafts.m_ShowSamples = false

Definition at line 61 of file LightShafts.Resources.cs.

◆ m_ShowSamplesBackgroundFade

float LightShafts.m_ShowSamplesBackgroundFade = 0.8f

Definition at line 63 of file LightShafts.Resources.cs.

◆ m_Size

Vector3 LightShafts.m_Size = new Vector3(10, 10, 20)

Definition at line 11 of file LightShafts.Resources.cs.

◆ m_SpotFar

float LightShafts.m_SpotFar = 1.0f

Definition at line 13 of file LightShafts.Resources.cs.

◆ m_SpotNear

float LightShafts.m_SpotNear = 0.1f

Definition at line 12 of file LightShafts.Resources.cs.

Property Documentation

◆ directional

bool LightShafts.directional
get

Definition at line 12 of file LightShafts.Utils.cs.

◆ spot

bool LightShafts.spot
get

Definition at line 13 of file LightShafts.Utils.cs.


The documentation for this class was generated from the following files: