-
Member
Regular Contributor
CG 1.5 and glsl
Hi,
Anyone knows if it's possible to compile and run a GLSL shader using cg 1.5 ?
I added some glsl shaders, and placed the glslv and glslf profile in the shaders, but the compiler reports compile errors everywhere.
thanks,
Bruno
-
Member
Regular Contributor
Re: CG 1.5 and glsl
the point of the profiles is to compile Cg code into GLSL. It should work, I saw several errors when trying to access glstate, however I was told that cg 2.0 will improve there. You cannot pass GLSL code...
-
Advanced Member
Frequent Contributor
Re: CG 1.5 and glsl
The command line Cg compiler tool can compile GLSL code when -oglsl parameter is specified.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules