In graphics it is used to simulate lighting effects, depth, other things. Shaders on the other hand, in 3D graphics, are a description language which defines how to change texture color, lightness and other things dynamically. Imagine that you have foldable tent in real life: the texture will be like the fabric that is put on the wire-frame. In context of graphics, each point is called a vertex, so a cube/block is made of 8 vertices and 6 faces. Take a wire-frame cube on which you put your own surface (texture). Textures define what an object's surface will look like:
0 Comments
Leave a Reply. |