Original Post
i remember that CG was developed by nVidia. does ATI support that,too?
Quote:
Original post by Evil Steve
CG is OpenGL only I don't know if ATi supports it, but I don't see why not. For DirectX, there's High Level Shader Language (HLSL).
Quote:Ah, I stand corrected. I was under the impression the Cg was HLSL for GL [smile]
Original post by Expandable Quote:
Original post by Evil Steve
CG is OpenGL only I don't know if ATi supports it, but I don't see why not. For DirectX, there's High Level Shader Language (HLSL).
No, CG works under Direct3D and OpenGL and is supported by ATI as well (because all CG does is to "rewrite" the shader into HLSL/GLSL or OpenGL/D3D8/9 shader assembly code). However, CG shaders might run slower on ATI-hardware than "native" HLSL/GLSL shaders.
Quote:
Original post by Evil Steve
Ah, I stand corrected. I was under the impression the Cg was HLSL for GL [smile]
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more