Anyone playing with the OpenGL Shading Laguage?
I came across a PDF online and I was just wondering if anyone have tryied it.
http://www.opengl.org/documentation/oglsl.html
http://www.opengl.org/documentation/oglsl.html
Apple doesn't export GL_ARB_shading_language_100 yet.
On PCs this extension is supported only on Radeon 9500, GeForce 3, or newer.
On PCs this extension is supported only on Radeon 9500, GeForce 3, or newer.
Which begs the question: Does anybody have any clue as to *when* it and it's supporting extensions will be implemented? I know this is not a question of "if" since they've already demonstrated that they're in hot pursuit of shading technology with stuff like OpenGL Shader Builder already on disk and CoreImage being demoed at WWDC. And then I wonder, to what extent? I certainly hope it'll be at least down to the Radeon 9000!
Shaders are still pretty new stuff, but I bought the orange book a few months ago to get a look-see at what's in store. It's going to be really, really interesting to see what comes out of this.
Shaders are still pretty new stuff, but I bought the orange book a few months ago to get a look-see at what's in store. It's going to be really, really interesting to see what comes out of this.
The supporting extensions ARB_fragment_shader, ARB_vertex_shader, and ARB_shader_objects were added in 10.3.4. GL_ARB_shading_language_100 is not there yet. Only Apple knows when.
The Radeon 9000 can't support ARB_fragment_program, only ATI_text_fragment_shader. So some shaders won't run on it, and without a software fragment program fallback, supporting GLSL on the Radeon 9000 is of dubious value. The software fragment program emulator is in 10.3.4, though, so I'm guessing it is only a matter of time before the fallback path is hooked up to the other renderers.
The Radeon 9000 can't support ARB_fragment_program, only ATI_text_fragment_shader. So some shaders won't run on it, and without a software fragment program fallback, supporting GLSL on the Radeon 9000 is of dubious value. The software fragment program emulator is in 10.3.4, though, so I'm guessing it is only a matter of time before the fallback path is hooked up to the other renderers.
Oh man, that blows... A software fallback doesn't seem to make much sense for shaders. So then the only practical way we'll get to mess with it is to spend several hundred dollars on a card upgrade or thousands to upgrade to a new mac? Great. I knew there was a reason I held off on that Radeon 9000 upgrade I was planning. What seemed like a great card at first now looks pretty useless other than more pipes and more memory. I can't imagine doing shaders outside of the OGL shading language in any practical sense. I guess we're all just going to have to wait and see what pans out. Thanks for the info arekkusu, keep us updated if you find out anything more.
Don't worry, everyone with a 9800 is going to have to upgrade to an 11800 to get FP blending. It's a never ending cycle.
The software fallback for vertex programs works OK for testing and developing, though you'd want to try to avoid it for games. Software fragment programs would be similar-- it'll let you see what the thing looks like on your hardware, even if it's not running at 100 fps.
The software fallback for vertex programs works OK for testing and developing, though you'd want to try to avoid it for games. Software fragment programs would be similar-- it'll let you see what the thing looks like on your hardware, even if it's not running at 100 fps.
Software fragment programs perform far worse than software vertex programs do compared to their hardware equivalents. I doubt you'd get usable performance out of a nontrivial program running on software fragment programs, since that's for all intents and purposes a software-only renderer that doesn't use the GPU at all.
You don't. In my experience on a decently grunty PC, about 30spf (seconds per frame).
Still, it's enough to see whether things look mostly right
Still, it's enough to see whether things look mostly right
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Deferred Shading | wquist | 0 | 2,175 |
Jul 20, 2011 07:42 PM Last Post: wquist |
|
| Irrlicht Gouraud/Smooth Shading | merrill541 | 4 | 4,785 |
Feb 3, 2010 01:13 PM Last Post: merrill541 |
|
| GLUT Shading | merrill541 | 1 | 2,427 |
Oct 15, 2008 02:53 PM Last Post: arekkusu |
|
| open gl shading language | brtnrdr | 8 | 4,832 |
Dec 30, 2004 02:15 AM Last Post: OneSadCookie |
|

