how does a shader work?

Started by
0 comments, last by McZ 20 years, 6 months ago
if I''m not wrong a shader is a part of the rendersystem that defines the material for the vertices/triangles/whatever that will be render. but then, how does it work? at the moment I Have a Material script and a cMaterial class that defines the material of my mesh, but how do I define a shader that can render that material? or is a shader something else?
Advertisement
a "shader" is just a transformator....
if doing vertices it operates on spatiall coordinates,
if doing pixels it operates on "colors"
Abnormal behavior of abnormal brain makes me normal...

This topic is closed to new replies.

Advertisement