shadowFragmentShaderDepth top-level property

ShaderObject shadowFragmentShaderDepth
final

Implementation

final ShaderObject shadowFragmentShaderDepth =
// What we care about here is the internal update of the depth buffer
    ShaderObject("ShadowMapF")..SetBodyWithMain(["${oFragColor}.r = 1.0;"]);