M3ShadowMap class
Shadow map renderer for real-time shadows from directional lights.
Renders the scene from the light's perspective to generate a depth texture.
Constructors
- M3ShadowMap(int width, int height)
Properties
Methods
-
debugDrawDepth(
double x, double y, double width, double height) → void - Draw shadow depth map for debugging
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderDepth(
M3Scene scene, M3DirectionalLight light) → void - Render depth map from directional light's perspective.
-
renderSpotDepths(
M3Scene scene, List< M3SpotLight> lights) → void - Render depth map for multiple spotlights into atlas.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited