I tried both
spotLight.map.offset.set( Math.sin( time ) * 2.5 , 0)
and
spotLight.shadow.map.texture.offset.set( Math.sin( time ) * 2.5 , 0)
but doesn’t work.
How to accomplish it?
I tried both
spotLight.map.offset.set( Math.sin( time ) * 2.5 , 0)
and
spotLight.shadow.map.texture.offset.set( Math.sin( time ) * 2.5 , 0)
but doesn’t work.
How to accomplish it?
up up Let’s attract more consentraction.