<<< Programmable graphics pipeline | Index | Vertex and Fragment processing >>> |
Shader has source code (plain text file):
Cg (C for Graphics) -- shading language developed by Nvidia and Microsoft -- DirectX
HLSL (High-level shader language) -- developed by Microsoft -- Direct3D
GLSL -- OpenGL Shading Language -- very C-like
Your program needs at least two shaders (vertex and fragment), but can use many more
Shaders are compiled into a binary program in memory
<<< Programmable graphics pipeline | Index | Vertex and Fragment processing >>> |