How to manipulate spotLight.map UV transformation?

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?

1 Like

up up Let’s attract more consentraction.