bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Allow rotating the skybox/environment map

Open Azorlogh opened this issue 1 year ago • 1 comments

What problem does this solve or what need does it fill?

Some users need to use Z as the vertical axis. As a result, skyboxes & environment maps will be rotated for them.

What solution would you like?

It would be useful to have a way to specify a rotation for skyboxes & environment maps.

What alternative(s) have you considered?

Rotating the textures directly. This is inconvenient and not straightforward (rotating an equirectangular HDRI requires resampling, and for .ktx2 cubemaps there's no tool to do it that I could find).

Azorlogh avatar Jun 26 '24 16:06 Azorlogh

Given the complexity of the environment map rotation, I'll submit a separate PR for it later.

Soulghost avatar Jul 11 '24 03:07 Soulghost