Photodome does not rotate when useDirectMapping is false

My objective is to use a photodome with fovmultiplier enabled. Additionally, I’d like to rotate the “image” by some amount. This will work fine using

dome.rotation.y = someRotation

https://playground.babylonjs.com/#XFCPZJ

However, once the photoDome is created with the option useDirectMapping : false which is required for the fovMultiplier, the rotation no longer works.

https://playground.babylonjs.com/#B8R4CN

Is there a way to accomplish the dome’s rotation without simply rotating the camera? It seems even rotating the sphere inside the photodome is not a solution either. Any ideas?

Unfortunately you need to rotate the camera as the texture mapping involved to get a correct fov multiplier prevents any kind of texture rotation

1 Like