updateStaticLightMap() {
        const lm = this._lightMap;
        if (lm.isInvalid()) {
            const max = this.options.shading.shades;
            const csm = this._csm;
            lm.traceAllSources();
            lm.filter((x, y, n) => {
                csm.setLightMap(x, y, n * max | 0);
            });
        }
    }
/**
     * if the light map is in invalid state, retrace all sources and transmit the walue to the CSM's light map
     */
if the light map is in invalid state, retrace all sources and transmit the walue to the CSM's light map
if the light map is in invalid state retrace all sources and transmit the walue to the CSM ' s light map
updateStaticLightMap() {
        const lm = this._lightMap;
        if (lm.isInvalid()) {
            const max = this.options.shading.shades;
            const csm = this._csm;
            lm.traceAllSources();
            lm.filter((x, y, n) => {
                csm.setLightMap(x, y, n * max | 0);
            });
        }
    }
updateStaticLightMap ( ) { const lm = this . _lightMap ; if ( lm . isInvalid ( ) ) { const max = this . options . shading . shades ; const csm = this . _csm ; lm . traceAllSources ( ) ; lm . filter ( ( x , y , n ) => { csm . setLightMap ( x , y , n * max | 0 ) ; } ) ; } }
if the light map is in invalid state, retrace all sources and transmit the walue to the CSM's light map
if the light map is in invalid state retrace all sources and transmit the walue to the CSM ' s light map