Archived

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

tomwindcloud

Is NVIDIA Cg Compiler a good choice???

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
www.creative-asylum.com

Share this post


Link to post
Share on other sites