View Full Version : Oblong textures
05-04-2004, 12:37 AM
Hello,is it possible to use oblong textures in OpenGL??Must I use only 64x64,128x128,...
Thanks for answers.Mage
Yep, no problem, but dimensions must still be powers of two. For example, you can have:
05-04-2004, 02:55 AM
05-04-2004, 03:07 AM
By using extensions like NV_texture rectangle or ARB_texture_non_power_of_two, you can also specify textures with non power of 2 dimensions.
Be careful when using these extensions though, because they might differ in the way texture lookup is performed (NV_texture rectangle uses the range [0..w]x[0..h] instead of the standard [0..1]x[0..1] range ) based on the incoming texture coordinates, mipmapping is not supported until the next generation of GPUs and not all clamping parameters are permitted.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.