TwoStageShadowShaderProgram

Package: Libraries.Game.Graphics.Shaders.Programs · Inherits from: Libraries.Language.Object, Libraries.Game.Graphics.Shaders.Programs.ShaderProgram

The two-stage shadow shader program produces identical shadow maps to the default shadow shader program. It only uses the vertex and fragment shader stages, unlike the default program which also uses the geometry stage. This makes it a viable alternative for environments that don't support geometry shaders (like Mac), but it requires separate draw calls for each cascade in the cascading shadow maps.

Inherited Actions

22 actions from Libraries.Game.Graphics.Shaders.Programs.ShaderProgram
3 actions from Libraries.Language.Object