Using the C++ STL in graphics engine code?
if you like hlsl syntax better than glsl but want to use OpenGL, try Cg. Its supported under both API's and is basically hlsl syntax compatible
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
-
- Posts: 313
- Joined: Tue Nov 01, 2005 5:01 am
I'm of the same mind. The good thing about GLSL (and arguably HLSL) is that one only needs the card, and video drivers for it to work (the arguability comes from whether DirectX can be counted as a "driver").I've thought about that, but don't want to have the requirement to have CG installed.
My original point still stands though - I prefer GLSL (and OpenGL) because of the fact it can be easily ported and developed on both Linux & Windows machines. It can also probably be easily developed on Macs, but it's not really worth targetting anymore (they are on Intel chips and all, so there is no REAL advantage to Macs anymore).
--EK