Class DirectionalShadowDraws
Native routing for procedural vegetation shadow draws already clipped by punctual shadow shaders.
public static class DirectionalShadowDraws
- Inheritance
-
DirectionalShadowDraws
- Inherited Members
Fields
Enabled
public static bool Enabled
Field Value
LayerName
public const string LayerName = "DirectionalShadowOnly"
Field Value
Properties
Layer
public static int Layer { get; }
Property Value
Methods
ConfigurePunctualLight(Light)
The reserved layer has no lit geometry: excluding it removes only the already-empty shadow passes.
public static void ConfigurePunctualLight(Light light)
Parameters
lightLight
LayerFor(Camera, Light, int)
Only the shadow-only draw changes layer; its lit draw keeps its original illumination masks.
public static int LayerFor(Camera camera, Light sun, int original)
Parameters
cameraCamerasunLightoriginalint