how does a shader work?
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?
a "shader" is just a transformator....
if doing vertices it operates on spatiall coordinates,
if doing pixels it operates on "colors"
if doing vertices it operates on spatiall coordinates,
if doing pixels it operates on "colors"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement