Archive for June 5th, 2008

Jun 05 2008

CG vs HLSL

Published by mdanks under Code

I just converted my app from Cg to HLSL. No real reason, except that I didn’t want to be locked into nVidia graphics cards.

In general, I find Cg more straightforward than HLSL. However, once I finished, it does not really make any difference to my app code because I have abstracted the shader layer away. Considering that I plan to stick with very straightforward shader files (and not even bother with .fx files), it probably does not matter in the end.

My next step is to create a job management system which runs on multiple threads…

No responses yet