Currently browsing tag

coordinate

17. OpenGL Texture Coordinate Generation

OpenGL Texture Coordinate Generation Tutorial PreviewWhen assigning a texture to an object, you need to declare the texture coordinates, little values between 0 and 1 that tell us which part of the image maps to which part of the 3D model. OpenGL has some texture coordinate methods for generic texturing.