There is a particular reason for which irrlicht doesn't support Cg and CgFX ? I want to try to implement it, but first i want to know if there is a reason for which it has not be done before (incompatibilities, etc...)
THanks!
Why Irrlicht doesn't support Cg and CgFX ?
-
marco.siino
- Posts: 14
- Joined: Thu Oct 13, 2005 2:36 pm
Why Irrlicht doesn't support Cg and CgFX ?
--
Marco Siino
Software Developer for an italian Software House
"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
Marco Siino
Software Developer for an italian Software House
"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
-
marco.siino
- Posts: 14
- Joined: Thu Oct 13, 2005 2:36 pm
I think an effect shader might be useful more than Cg itself. But DirectX FX files are not cross platform, so i think CgFX support in Irrlicht could be an useful thing. I think external libraries is not a very big problem...
--
Marco Siino
Software Developer for an italian Software House
"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
Marco Siino
Software Developer for an italian Software House
"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
I believe Cg shaders are the only fully cross-platform shaders in the sense that a cg shader can be compiled for use with directx or opengl, and the Cg API provides functions for handling Cg shaders in both OpenGL and DirectX . To the best of my knowledge this is not possible with HLSL or GLSL, although both of those language obviously have their own advantages.
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