I have read about using sampler2DRect and texture2DRect to use rectangular textures. My question is whether its use is recommended for creating sprites 2D using GLSL, or if there is another alternative to using images that are not necessarily a power of two.
1 Answers
1
votes
If all you need are non-power-of-two textures, that's something OpenGL has supported for all texture types since GL 2.0. So you don't need rectangle textures if NPOTs are all you want.