doesn't need to do this on the fly. OpenGL requires that texture dimensions be a power of 2 (32, 64, 128, 256, 512, 1024, 2048, etc.) so if we feed in something else, OSG will rescale it on the fly before registering it as an OpenGL texture.
30 KiB
256x256px
30 KiB
256x256px
![](/fly/fgdata/raw/commit/151a00d31ccdc829f3bdc9e129d9a59380f8eee7/Aircraft/Generic/Effects/CubeMaps/sunrise/1.png)