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.
174 KiB
512x512px
174 KiB
512x512px
![](/fly/fgdata/raw/commit/e974c7d2742a6c5f4fc6528c078aed25f3d3c0ce/Aircraft/Generic/Effects/CubeMaps/fgfs-sky/6.png)