rajeshdmonte

Shader language problem

Discussion created by rajeshdmonte on Feb 1, 2009
Latest reply on Feb 2, 2009 by avk

Hi,


I'm been making my game using C++/OpenGL/ and NVIDIA Cg language.

The nvidia specific profile seems fine for nvidia cards, but all my sm3/sm4 shaders dont' work on ATI hardware, since they are nvidia specific profiles, right now I'm running on ARBVP1 and ARBFP1 profiles but that doesn't have much shader instruction length, so the shaders are limited, I would love to know a solution to support ATI hardware as well. Right now all my shaders are in NVIDIA Cg, porting to directX is not possible right now, so is there a way to run HLSL like code (Cg) on ATI hardware through OpenGL?

 

Thanks!

Outcomes