Top "Textures" questions

Textures are series of images used in computer graphics to associate locations on a visible surface with varying values.

How to access automatic mipmap level in GLSL fragment shader texture?

How do I determine what mipmap level was used when sampling a texture in a GLSL fragment shader? I understand …

opengl textures glsl fragment-shader mipmaps
GLuint not being recognised

I am creating a 3D application in OpenGL, and in order to display textures on the models that I'm reading …

c++ visual-studio opengl textures glut
Can I use a grayscale image with the OpenGL glTexImage2D function?

I have a texture which has only 1 channel as it's a grayscale image. When I pass the pixels in to …

c++ opengl textures
glPixelStorei(GL_UNPACK_ALIGNMENT, 1) Disadvantages?

What are the disadvantages of always using alginment of 1? glPixelStorei(GL_UNPACK_ALIGNMENT, 1) glPixelStorei(GL_PACK_ALIGNMENT, 1) Will it impact …

c++ opengl alignment textures pbo
What is the point of an SDL2 Texture?

I'm kind of stuck on the logic behind an SDL2 texture. To me, they are pointless since you cannot draw …

c++ textures sdl renderer sdl-2
How to manipulate texture content on the fly?

I have an iPad app I am working on and one possible feature that we are contemplating is to allow …

ios ipad opengl-es textures
Packing rectangular image data into a square texture

I have N items of 2D image data that will be rectangular and I want to pack them into a …

image textures packing
OpenGL C# (OpenTK) Load and Draw Image functions not working

I'm trying to load and display a texture on the screen, however am receiving a black box where it is …

c# opengl textures opentk
How to match texture similarity in images?

What are the ways in which to quantify the texture of a portion of an image? I'm trying to detect …

image-processing opencv textures
How can I find the maximum texture size for different phones?

I'm trying to find out the maximum texture size for the original Motorola Droid. I believe the G1 has a …

android opengl-es textures renderer