![Curtis L. Olson](/assets/img/avatar_default.png)
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.
1.5 KiB
512x512px
1.5 KiB
512x512px
![](/fly/fgdata/raw/commit/2fbc1dc491da867e0fd4f8fc810c5cddd80ced1f/Aircraft/Generic/Effects/CubeMaps/gimp-sky/5.png)