Property | Type | Description | |
---|---|---|---|
_lights | List |
||
blockerDistanceScale | float | ||
fallbackFilterWidth | float | ||
fiberSpacing | float | ||
lightFarSize | float | ||
lightNearSize | float | ||
sceneCaptureDistance | float | ||
selfShadowMapSize | int | ||
shadowBias | float | ||
shadowMapSize | int |
Method | Description | |
---|---|---|
Awake ( ) : void |
Initializes the oit light.
|
|
ClearShadowMaps ( ) : void |
Clears all shadowmaps this light has.
|
|
GetLightInfo ( |
Returns the light info data for the shader (for this light).
|
|
GetShadowInfo ( |
Gets all shadow mapping information the shader requires for a light.
|
|
GetShadowMatrix ( ) : |
||
IsVisible ( |
||
OnDestroy ( ) : void | ||
RenderSelfShadows ( |
Renders the selfshadow map for this light and the specified renderer.
|
|
RenderShadows ( ) : void |
Renders the scene shadow map for this light.
|
|
SetSelfShadowParameters ( |
Sets the self shadowmapping parameters of this light to the specified evaluation material.
|
|
Update ( ) : void |
public GetLightInfo ( |
||
position | The position passed in the shader, for format specification look into TressFX_Lighting.cginc | |
data | The data passed in the shader, for format specification look into TressFX_Lighting.cginc | |
lightColor | ||
return | void |
public GetShadowInfo ( |
||
data | The data matrix which should get passed into the evaluation shader. | |
shadowMatrix | The shadow matrix which should get passed into the evaluation shader. | |
return | void |
public IsVisible ( |
||
renderer | ||
return | bool |
public RenderSelfShadows ( |
||
renderer | ||
return | void |
public SetSelfShadowParameters ( |
||
evalMaterial | ||
return | void |