This topic is now archived and is closed to further replies.


how does a shader work?

Recommended Posts

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?

Share this post

Link to post
Share on other sites