Welcome to another one of my newb questions!
Can somebody explain the difference between a material and a shader
My own ideas would probably be:
- A Material defines the texture and lighting properties of a surface, and maybe even the sound properties of a surface. Visual qualities of a material can be described with shader(s) !
Anyway, if someone could give me some ideas here as I find the two terms quite conflicting, but its probably because of my limited understanding!
cheers :)
The reason I ask is I was thinking about making a Material class that maybe describes texture, lighting properties and sound of certain geometry.
edit: by the way I have checked out the definition of a material in the directx documentation but it only describes a material as something that has lighting properties, surely a material can go beyond this definition
Maybe material is something that was preshader :) confused...