Archived

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

Pipo DeClown

What are shaders and how to use them

Recommended Posts

instead of setting some paths on the gpu where what should happen now you have some sort of "language" in wich you define e basic flow, on what it has to calculate. look up vertex and pixel shaders, they are well documented.. they basically define a small program, that gets calculated for each vertex of the mesh, and for each pixel on screen of the triangle..

"take a look around" - limp bizkit
www.google.com

Share this post


Link to post
Share on other sites
Shaders are the way in which programmers can customise the 3D pipeline to better suit their needs. The behaviour of earlier 3D cards had to be specified by setting flags and options, but newer ones you can choose to more or less program. The main benefit here is greater flexibility.

[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost | Asking Questions | Organising code files | My stuff ]

Share this post


Link to post
Share on other sites