Pixel Shaders with OGL

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Pixel Shaders with OGL

Post by Electron »

When I run the shader example with dx8 everything is fine. When I run with OGL I get a warning that pixel shaders are disabled because of missing driver/hardware support. I have a Radeon 8500. Does anyone know whether
1) the fault is in my video drivers

2) a radeon 8500 can't run pixel shaders at all. (don't know what's with dx saying it can though, and anyway I hope this is not the case)

3) the problemis in the irrlicht OGL driver
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
yin nadie
Posts: 43
Joined: Wed Mar 31, 2004 1:03 pm
Location: Seville, Spain
Contact:

Post by yin nadie »

I've just noticed the same problem here with my radeon 9000. It looks like the OGL port will give everyone a good headache
timmy
Posts: 34
Joined: Wed Jul 14, 2004 2:48 am

Re: Pixel Shaders with OGL

Post by timmy »

Electron wrote:When I run the shader example with dx8 everything is fine. When I run with OGL I get a warning that pixel shaders are disabled because of missing driver/hardware support. I have a Radeon 8500. Does anyone know whether
1) the fault is in my video drivers

2) a radeon 8500 can't run pixel shaders at all. (don't know what's with dx saying it can though, and anyway I hope this is not the case)

3) the problemis in the irrlicht OGL driver
well i certainly ain't a gl guru but an easy way to find what your card supports is the nehe lesson24 ...im sure there r other programs that return all the GL extensions your card supports but this one is pretty easy.

what you are looking for is

GL_ARB_VERTEX_PROGRAM //vertex
GL_ARB_FRAGMENT_PROGRAM //pixel

when those 8500 first came out they didn't support GL_ARB_FRAGMENT_PROGRAM ext (haha i don't even know if that extension was around than?) ....but with the latest drivers they may do????

you may notice your card supports the older GL_ATI_fragment_shader, so i guess irrlicht could always be modded to use this if found.
timmy
Posts: 34
Joined: Wed Jul 14, 2004 2:48 am

Post by timmy »

here is a great little app to find your opengl extensions
http://www.realtech-vr.com/glview/
Post Reply