Advertisement

GLSL? CG? Does it even matter?

Started by December 27, 2004 08:42 AM
11 comments, last by _DarkWIng_ 19 years, 11 months ago
Quote:
GLSL can be run on cards as low as the gf4(perhaps even the gf3 even).


Really? Is this actually true? The only reason I'm using Cg at the moment is because I want to be able to support the GF4 level of cards too...
If at first you don't succeed, redefine success.
Quote: Original post by python_regious
Quote:
GLSL can be run on cards as low as the gf4(perhaps even the gf3 even).


Really? Is this actually true? The only reason I'm using Cg at the moment is because I want to be able to support the GF4 level of cards too...


Yes it's true, as long as the card supports vertex and fragment programs it can support GLSL.
The only difference(compared with newer cards) would be the maximum length of the programs, some branching/loop capabilities and a number of misc optimisations.
But it should be enough to do some simple ppl lighting and such things.
GLSL is actuarly sort of based a little on cg.
Advertisement
Quote: Original post by lc_overlord
Quote: Original post by python_regious
Quote:
GLSL can be run on cards as low as the gf4(perhaps even the gf3 even).


Really? Is this actually true? The only reason I'm using Cg at the moment is because I want to be able to support the GF4 level of cards too...


Yes it's true, as long as the card supports vertex and fragment programs it can support GLSL.
The only difference(compared with newer cards) would be the maximum length of the programs, some branching/loop capabilities and a number of misc optimisations.
But it should be enough to do some simple ppl lighting and such things.
GLSL is actuarly sort of based a little on cg.

GF3/4 can only support vertex part of GLSL. I don't know about recent driers but in old ones you had to do a registry hack to enable it. They do not support pixel part as HW can't fully HW accelate it. There is no middle ground here to support only a part of instructions.
You should never let your fears become the boundaries of your dreams.

This topic is closed to new replies.

Advertisement