构造函数

属性

directLightShadowPass: WebGLDirectLightShadowRP

directlight shadow

enableDirectLightShadow: boolean = false

enable directlight

enablePostProcess: boolean = true
enableSpotLightShadowPass: boolean = false

enable spot

finalize: CommandBuffer

main pass

shadowCastPass: boolean = false

是否开启阴影

shadowParams: Vector4
spotLightShadowPass: WebGLSpotLightShadowRP

spot shadow

方法