drei icon indicating copy to clipboard operation
drei copied to clipboard

`<Environment>` background doesn't rotate if `ground` is set

Open RodrigoHamuy opened this issue 1 year ago • 0 comments

  • three version: 0.160.1
  • @react-three/fiber version: 8.15.15
  • @react-three/drei version: 9.96.1

Problem description:

<Environment> component doesn't respect backgroundRotation when ground is set.

Relevant code:

<Environment preset="city" background backgroundRotation={[-Math.PI*0.5, 0,0]} />

Sandbox

rotate.webm

RodrigoHamuy avatar Jul 03 '24 09:07 RodrigoHamuy