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.
34 KiB
256x256px
34 KiB
256x256px
![](/fly/fgdata/raw/commit/736970e39a9aeab1a5f11fedcc7fb279ce7842f0/Aircraft/Generic/Effects/CubeMaps/sunrise/3.png)