Advertisement Jump to content
Sign in to follow this  
akira32

Cg and a CgFX shader file

This topic is 4481 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!