Variable SHADOWUPDATE_THISFRAMEConst

SHADOWUPDATE_THISFRAME: number = 1

The shadow map is regenerated this frame and not on subsequent frames.