Table of Contents

Class DirectionalShadowDraws

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

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

bool

LayerName

public const string LayerName = "DirectionalShadowOnly"

Field Value

string

Properties

Layer

public static int Layer { get; }

Property Value

int

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

light Light

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

camera Camera
sun Light
original int

Returns

int