PDA

View Full Version : GL_EXT_Cg_shader



yooyo
06-01-2004, 03:39 AM
It seems that new Nvidia GL driver can eat plain
Cg code using GLSL extensions. I'v just tested simple Cg shader in ShaderDesigned and it works !!!

Even more... I can access to all GLSL matrices from Cg code to avoid boring glTrackMatrix.

Anyone have more info about this?

btw.. Im using FW 61.32 on FX5900XT

yooyo

Corrail
09-27-2004, 08:56 AM
It's an old topic but here are some infos about EXT_cg_shader

http://download.nvidia.com/developer/GLSL/GLSL%20Release%20Notes%20for%20Release%2060.pdf

yooyo
09-27-2004, 10:10 AM
I know that... This topic is bumped (see post date).

yooyo

Corrail
09-27-2004, 12:08 PM
I know that it's an old topic but nVidia just released this information.

Do you know something more about this extension? Am I able to use it with NV2x CG fragment shaders?

yooyo
09-28-2004, 12:26 AM
If driver ext string reports EXT_Cg_shader you can use it. But, older cards doesn't support fragment programs, so you are limited only for vertex programs. Even more, I think that position invariance doesn't work well on non-FX hardware, ie.. if you want multipass then forget fixed funcion pipeline and do it via vertex shaders.

yooyo