Jump to content
  • Advertisement
Sign in to follow this  
akira32

Cg and a CgFX shader file

This topic is 4241 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Quote:
Original post by akira32
Should I learn CgFX for NVIDIA FX composer?

I don't really know that much about CG (other than random complaints people have), but IIRC FX Composer only authors HLSL effects. The big use of CG seems to be if you need a cross-platform shading language/interface (generally, if you are working with OpenGL).

Share this post


Link to post
Share on other sites
Although CgFX shading language is very similar to HLSL language, you can't produce CgFX shaders using FXComposer.

By the way, does anybody know an IDE for creating CgFX shaders? I couldn't find one.

Share this post


Link to post
Share on other sites
CG is a sub-set of CGFX. CGFX includes the FX framework for encapsulating CG pixel and vertex function in "techniques" and "passes". It doesn't add any functionality but it make it easy to handle multiple techniques/passes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!