nVIDIA Cg Language ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Rohit
Posts: 7
Joined: Tue Apr 04, 2006 5:37 pm
Location: Shimla , India
Contact:

nVIDIA Cg Language ?

Post by Rohit »

Hi !
I am new to Shaders .I just started learning nVIDIA's Cg Shader language . But in the documentation of Irrlicht only GLSL and HLSL are written.
Is anybody using Cg(C for Graphics) with Irrlicht ?
O Draconian Devil ! O Lame Saint !
So Dark the Con of Man !
http://two.fsphost.com/irrlicht
Baal Cadar
Posts: 377
Joined: Fri Oct 28, 2005 10:28 am
Contact:

Post by Baal Cadar »

Cg is more or less the same as HLSL. You can use your Cg shaders without any changes or with only small ones, depending on the used feature set. This works fine for directx. If you need OpenGL, you have to write a GLSL version of the shader too, as Irrlicht does not currently support Cg.
Post Reply