Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Is NVIDIA Cg Compiler a good choice???

This topic is 5839 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

We all know that vertex shaders and pixel shaders are low-level language, and maybe are a little bit difficult to learn. NUIDIA say cg is a good choice. Can anyone tell me that Cg Compiler a good choice??? Regards, Tomwindcloud

Share this post

Link to post
Share on other sites
Or use HLSL which is in DX9 which works in a very similar way.

There''s a chance that you''ll get the best performance for nVidia chips if you use Cg - however, whether you get good performance on other manufacturers chips using Cg is currently subject to much debate (not surprisingly mainly between ATI and nVidia representatives - learning how much is politics and how much is reality is what you need to do).

I''d say either is a good thing, though the neutrality of HLSL would probably mean the best _average_ performance - have to wait for someone to publish some fair benchmarks to be sure though.

Simon O''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites

  • 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!