The topic for today is shaders, what are shaders?
Shaders are layers applied to a 3D object or scene that drastically change the dynamics and look of an object. A model without a shader will simply look bare and bland, a model with only a texture will seem strange to look at. This is where shaders come in.Imagine a flat metal sheet that doesn't reflect, shine or look correct when light is applied to it. This sheet will only be a coloured object, with no real dynamics reflecting the environment it is in. Thanks to pixel shaders, the metal object can reflect, bounce light and have more depth to the texture (bumpy surface) or something more complex like liquid running down it.It was not too long ago (roughly the year 2000) that shaders were very basic cheap to make graphic tricks in games such as vertex lighting and stencil shaders were used (Quake 2 and 3 were a good example of this) and surfaces could only be told apart from blinn and phong shaders, giving surfaces a flat and basic look.
|Doom 3 by Id Software : The introduction of normal maps and pixel shaders made games look farther ahead of anything they could have been.|
Ptex was designed to make UV mapping much more simple and allows for a large number of textures to be assigned to a single file. It also fixes seam issues with models, where an object appears to have a very small thin cut or space between polygons.