vertex/pixel shaders in OpenGL
Hi,
I am developing an application and I want to use pixel/vertex shaders extensively. I am now learning about the technology. Can anyone point me to any resources about how the shaders are used in OpenGL ..(example code maybe that shows how to include the shaders and apply them?)
Thanks
http://developer.nvidia.com/view.asp?PAGE=nvsdk
The nVidia SDK. A great resource, they have tons of pixel/vertex/texture shader related material. Including source, whitepapers, etc...
- AH
The nVidia SDK. A great resource, they have tons of pixel/vertex/texture shader related material. Including source, whitepapers, etc...
- AH
I would assume that most of the demos etc. on the SDK would work only on cards with Nvidia GPUs. OpenGL extensions for vertex and pixel programs only work on the Geforce3 or later GPUs so will only be supported on these cards.
Umesh
Umesh
Hmm, depends. It''s true that the real vertex/pixel/texture shaders presented there only work on nVidia chipsets (we *really* need a standarized pixel shader language in OpenGL !). But they also explain how to use standarized pixel-shader extensions (eg. DOT3), this will work on any card that supports this extension (currently almost all new boards).
I''m pretty sure that ATI has some similar SDKs for their pixel shading extensions.
- AH
I''m pretty sure that ATI has some similar SDKs for their pixel shading extensions.
- AH
Yup, that''s true. I think in the proposals for OpenGL2 there is one paper dealing with a higher level shading language. It is at the 3dlabs site.
I''ve reviewed the opengl 2.0 shader spec. and it looks pretty good. Its a higher level language like C. I tend to like the asm language better, but its a matter of preference. Right now I''m going to stick with DIrectX shaders since they are general and all the vendors have to implement them in their spec. We''ll have to see how opengl 2.0 turns out.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement