Jun 05 2008

CG vs HLSL

Published by mdanks at 11:32 pm 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…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.