View Full Version : Texturing / Geomipmapping Issue

Brent Sharrow
08-15-2009, 03:57 PM
I have created a lightmap for my geomipmapped terrain. My heightmap size for the geomipmapping implementation is of the form (2^n + 1), and the lightmap generated needs to be of the same size. Could this cause an issue in terms of texture mapping since its dimensions are not a power of two (1025x1025 rather than 1024x1024)?

08-17-2009, 04:41 AM
Not a problem if your hardware supports NPOT textures.

See :
http://www.opengl.org/wiki/NPOT_Textures#OpenGL_2.0_and_GL_ARB_texture_non_po wer_of_two