A progressive/accumulative shadow catcher for three js which is a vanilla js implementation of AccumulativeShadows from react three fiber
Based on
Big thanks to drcmda/OxcaOa , r3f and three js forums
Class Files are available in src
folder
progressiveShadows = new ProgressiveShadows(renderer, scene, { size: 4 })
progressiveShadows.clear()
progressiveShadows.lightOrigin.position.set(5,5,5)
progressiveShadows.update(camera)
guiProgressiveShadows
function can help add gui quickly for testing