Hi,
Can anyone clarify the relationship in features that ShaderModel 3.0 has with GLSL - ie: will a card that fully supports SM3.0 fully implement GLSL? - or are there differences that mean full GLSL support will arrive later?
Thanks,
Caspar.
Hi,
Can anyone clarify the relationship in features that ShaderModel 3.0 has with GLSL - ie: will a card that fully supports SM3.0 fully implement GLSL? - or are there differences that mean full GLSL support will arrive later?
Thanks,
Caspar.
I think with SM3.0 the majority of GLSL will be supported. I think the only feature what might cause problems are the noise functions. Anything else like loops, dynamic branching, vertex shader texture sampling, ... should be supported.
There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened...
Is there something similar to the PS 3.0 backface register in GLSL? And texture sampling with a user provided gradient?
gl_FrontFacingOriginally posted by PK:
Is there something similar to the PS 3.0 backface register in GLSL?
The dFdx() and dFdy() stdlib functions can be used with the standard texture lookup functions.Originally posted by PK:
And texture sampling with a user provided gradient?
Great - so (in theory) Nvidia should be releasing some pretty featured drivers for GLSL that the GF6 will handleOriginally posted by Corrail:
I think with SM3.0 the majority of GLSL will be supported. I think the only feature what might cause problems are the noise functions. Anything else like loops, dynamic branching, vertex shader texture sampling, ... should be supported.![]()