@MaitredeDieu Cg is more mature but you will need the Nvidia toolkit and their run time library so it will require additional dependencies. Also, Cg is a vendor specific product so you will often hear that Cg doesn't work as well on AMD hardware. GLSL is also built-in to OpenGL so nothing more is required. For these reasons, most prefer GLSL. People who work in graphics seem to know all 3 shading languages so it really doesn't matter which one you start out with.
nice rendering ;)
I wonder : are Cg shaders widely used or do you think it's better focusing on learning GLSL ?
MaitredeDieu 1 month ago
@MaitredeDieu Cg is more mature but you will need the Nvidia toolkit and their run time library so it will require additional dependencies. Also, Cg is a vendor specific product so you will often hear that Cg doesn't work as well on AMD hardware. GLSL is also built-in to OpenGL so nothing more is required. For these reasons, most prefer GLSL. People who work in graphics seem to know all 3 shading languages so it really doesn't matter which one you start out with.
GraphicsProgrammer 1 month ago
@GraphicsProgrammer sticking to my AMD gpu and GLSL then. Many thanks for the explanation :)
MaitredeDieu 1 month ago