Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

At any time, a game will likely have many objects rendering textures.
So what is a texture? an image for example?

share|improve this question

3 Answers 3

up vote 12 down vote accepted

Yes, a texture for most purposes is an image.

Once a texture is loaded from a file, it can be applied as a sort of "decal" to any polygon you wish.

When you see textures in an image file they typically appear a bit warped,

a texture

That's because when the texture is "wrapped" around the model, it will all even out and wrap around the model properly. You use a technique called UV mapping to be able to create a nice texture that will wrap around the model properly.

share|improve this answer
    
+1 because this is the best answer so far. –  Randolf Richardson Aug 8 '11 at 3:36
1  
In the world of programmable shaders, a texture is a 1D/2D/3D grid of pixel values. These textures can be sampled with different interpolation filters (nearest, bilinear, trilinear, anisotropic) to retrieve values from the texture. Common use-cases are as normal albedo (color) images, gradient maps and palettes, normal maps for bump-mapping, and much much more. –  Lars Viklund Aug 8 '11 at 8:56
1  
Yes, but given the context of the question, I think he meant "texture as a picture" –  bobobobo Aug 8 '11 at 15:37

Yes, it typically is an image (often of a pattern) applied to the surface of a 2D or 3D model.

share|improve this answer

Textures are basically images that are used in 3D games on 3D objects, 2D planes in 3D space, or GUI elements.

Textures can also be generated at real time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.