Ok, a lot of the programs etc that I have been looking at recently have been discussing the use of shaders concerning modelling, lighintg etc. I was wondering if someone could fill me in a little on the actaul technical issues, ie what is a shader?
As far as my knowledge (and technical programming ability so far) entails, rendering involves material properties, which have ambient/diffuse/specular Phong lighting models (normals generated at point of intersection), and then the material definitions can be extended to include textures for each aspect of the Phong lighting model, bumpmapping for normal manipulation, and perhaps some other info such as reflectivity, emission if you are doing a light emitting object, transparency/density of material etc.
So what is a shader? I take it they are programmable, and are put into a program as opposed to being individually executed. I can only think that shaders somehow extend the materials definition somehow.,