I knew from a website that rectangle texture can be used for screen-sized images. However, for the function glGetTexParameterfv, only GL_TEXTURE_2D and GL_TEXTURE_CUBE_MAP are accepted. Does it mean that rectangle texture, or GL_TEXTURE_RECTANGLE, is not supported by OpenGL ES 2.0? And I am wondering whether it means only normalized texture coordinate can be used in shaders? Thank you.
I knew from a website that rectangle texture can be used for screen-sized images.
Share
About GL_TEXTURE_RECTANGLE
Texture coordinates is just a interpolated value between vertices. But for 2D texture it’s value in 0.0 to 1.0 range (if you do not tiling texture). For texture cube its vector (it can be non-normalized)