This may sound as a dumb question, but could someone please explain to me fully what a shader is? How it is made (not the coding), and what's it's purpose. Please note, I already understand it can do those really cool effects, but I have no idea, how it works. I need a detailed definition for a shader if anyone can provide me with one.