GLSL vs. Cg (with GLSL profile)

What is the difference between GLSL and Cg (with the newly added GLSL profile) from NVIDIA? What does “with GLSL profile” mean?

If there is a difference, how come the NVIDIA FX Composer doesn’t support GLSL directly?

Thank you.

GLSL profile means you can compile Cg into GLSL.

So, just to make sure I understand this, the new FX Composer announced at GDC will output GLSL fragment and vertex scripts as a result of the interactive design session/actions?

Does that mean you can take an HLSL shader from the NVIDIA shader library and generate a GLSL pair from it?

Originally posted by robosport:
So, just to make sure I understand this, the new FX Composer announced at GDC will output GLSL fragment and vertex scripts as a result of the interactive design session/actions?
FX Composer 2.0 will let you write GLSL shaders, yes.

Originally posted by robosport:
Does that mean you can take an HLSL shader from the NVIDIA shader library and generate a GLSL pair from it?
Yes, the Cg 1.5 compiler can do this.

Thank you.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.