Textures Flashcards
What do we do when the Pixel Resolution is larger than the Texel Resolution, ie the Pixels are smaller than the Texels ?
In this case we have multiple pixels mapping to the same texel
- No Filter
In No Filter we simply select the texel to which the pixel maps, the result can be quite blocky
- Bilinear Interpolation
We find the fractional co-ordinates in the Texture
We then find the neighbours of the co-ordinates and take the average, this leads to the image being slightly blurred
What do we do when the Pixel Resolution is smaller than the Texel Resolution , ie the Pixels are larger than the Texels?
This means that pixels next to each other may map to texels that are far apart from one another
- MipMap Filtering
Instead of using a single texture map, we have a set of them with different resolutions
We can then choose which texture to use based on how far (the z-value) the object is
The further an object is the less detail we need
What are light maps?
We can save rendered surfaces as textures as light maps, and this saves us time
What is bump mapping?
In bump mapping, we do not alter the surface colour but rather the surface normals
This is so that our illumination model shades it differently to give the surface a different looking texture
How do we figure out the surface normals in a bump mapping?
We can use a texture map
We may use the gradient in a texture map to figure out the surface normals in a texture map