i want to change the uOffset of a VideoDome Texture to “rotate” the image by 90°.
You can look this up at this playground link:
In case 1 its working correctly. The texture is the diffuseTexture and i can change the uOffset of this texture an see the effect. This is the normal Mode and the texture is in default “Explicit” mode.
But in case 2 (which i need) it is not working. As soon as you set “useDirectMapping: false” so that you can change the “dome.fovMultiplier” a few other things change too. The texture is no longer a diffuseTexture but a reflectionTexture (why???). The texture mode changes from “Explicit” to “Fixed Equirectangular Mirrored”. In this mode, it seems like all Offset, Angle and Scale values of the texture are ignored. What’s bad, because uOffset is exactly the value i want to change in this mode.
So any ideas how to keep case 2 like it is(useDirectMapping: false, dome.fovMultiplier = 0.8), but change the Offset of the texture anyways?
Any help appreciated. Thanks.