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.
33 KiB
256x256px
33 KiB
256x256px
![](/fly/fgdata/raw/commit/9f9ea1cf8e5cf75b4f11649a618f583ed4bc2954/Aircraft/Generic/Effects/CubeMaps/sunrise/2.png)