GLSL geometry- and multipass-shaders (nogo?)
Hello,
I am just learning GLSL and would like to clarify couple of things.
1) Geometry Shaders
I tried simple geometry shader "Hello World" with GLSLEditorSample (among with corresponding vertex & fragment shaders). It seems that geometry shader is detected and supported but as soon as it's attached the vertex-shader falls back to software. (alu iMac with ati 2600 pro & Leopard).
What's the case here? The shader-editor doesn't support geometry-unit? Leopard doesn't support it? driver? hardware? I believe R600 does support geometry shaders so that shouldn't be the case here.
2) Multipass shaders
Is there any way to use multipass shaders with Quartz Composer, GLSLEditorSample or older OpenGL Shader Builder ? (i.e. two or more fragment/vertex-shaders at the same time. one getting output fro previous one).
Thank You.
-mcMike
I am just learning GLSL and would like to clarify couple of things.
1) Geometry Shaders
I tried simple geometry shader "Hello World" with GLSLEditorSample (among with corresponding vertex & fragment shaders). It seems that geometry shader is detected and supported but as soon as it's attached the vertex-shader falls back to software. (alu iMac with ati 2600 pro & Leopard).
What's the case here? The shader-editor doesn't support geometry-unit? Leopard doesn't support it? driver? hardware? I believe R600 does support geometry shaders so that shouldn't be the case here.
2) Multipass shaders
Is there any way to use multipass shaders with Quartz Composer, GLSLEditorSample or older OpenGL Shader Builder ? (i.e. two or more fragment/vertex-shaders at the same time. one getting output fro previous one).
Thank You.
-mcMike
That card does support geometry shaders, so maybe you're hitting some hardware limitation. Have you got 10.5.2 + LGU1?
(for people without Radeon 2x00s or GeForce 8x00s, 10.5.2 + LGU1 also adds software support for geometry shaders on all renderers).
If you want to chain shaders together I think you'll need to write your own harness. Shouldn't be difficult, given the source to GLSLEditorSample
(for people without Radeon 2x00s or GeForce 8x00s, 10.5.2 + LGU1 also adds software support for geometry shaders on all renderers).
If you want to chain shaders together I think you'll need to write your own harness. Shouldn't be difficult, given the source to GLSLEditorSample
2600 hardware supports geometry shader, but driver does not yet accelerate it. To be addressed in a future update.
Currently (10.5.2 + LGU1), only GeForce 8+ expose hardware acceleration. All other drivers fall back to software.
Currently (10.5.2 + LGU1), only GeForce 8+ expose hardware acceleration. All other drivers fall back to software.
OneSadCookie Wrote:That card does support geometry shaders, so maybe you're hitting some hardware limitation. Have you got 10.5.2 + LGU1?
Yes. 10.5.2 and if by LGU1 you refer to Leopard Graphics Update I have that too.
OneSadCookie Wrote:If you want to chain shaders together I think you'll need to write your own harness. Shouldn't be difficult, given the source to GLSLEditorSampleI know but I am still in process to experiment shaders in general with QC and GLSEdit just to learn stuff. I also have to catch up my ancient (1.0) OpenGL-knowledge back to decent level before moving to cocoa+ogl+shaders.
One thing at time

arekkusu; Thanks for info!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Sdl & C++ = Nogo? | Muthaias | 2 | 2,469 |
Oct 10, 2007 09:34 AM Last Post: Muthaias |
|
| geometry intersact with rendering volume | stella1016 | 0 | 1,927 |
Oct 3, 2007 12:44 PM Last Post: stella1016 |
|
| Smoothing geometry via subdivision | TomorrowPlusX | 1 | 2,521 |
Aug 30, 2007 02:46 PM Last Post: OneSadCookie |
|
| Enabling OGL fog in shaders | kordova | 7 | 4,372 |
Jul 12, 2006 10:12 AM Last Post: kordova |
|
| Program for previewing / editing textures & shaders? | haxolotl | 4 | 4,025 |
Jun 7, 2006 12:48 PM Last Post: ravuya |
|

