http://www.opengl.org/registry/doc/GLSL ... .50.09.pdf page 98No bias or lod parameters for rectangular textures, multi-sample textures, or texture buffers are supported because mip-maps are not allowed for these types of textures.
Rectangular texture mipmaps in opengl
Moderator: Moderators
Rectangular texture mipmaps in opengl
I read something in the orange book about openGL not supporting mipmapping for rectangular textures. Is this true for power of two rectangles as well? Because if it is, I think I know why my trees have some artifacts.
Re: Rectangular texture mipmaps in opengl
No, mipmapping is always possible for PO2 textures (square or rectangular).
Also, the ARB_texture_non_power_of_two extension supports mipmap generation for the non-PO2 case (unlike ARB_texture_rectangle).
Also, the ARB_texture_non_power_of_two extension supports mipmap generation for the non-PO2 case (unlike ARB_texture_rectangle).
Last edited by Kloot on 22 Feb 2010, 10:44, edited 2 times in total.
Re: Rectangular texture mipmaps in opengl
Ok, thanks!