I dont know for sure that it is (is there a reliable way to check this?), but drawing a fullscreen quad without the shader runs at 100+fps, whereas drawing it with the shader causes it to run at 1-2fps.
I am assuming that this is because of the software renderer kicking in.
If the demos run well, then it really looks strange. Can you post your full code ?
Also for gl_FragColor I use gl_FragColor = vec4 (1,0,1,1) as it’s not an array. Maybe it’s simply that or another thing people here might discover when seeing your code. But like that I’m almost sure very few people could give the solution like that.
I enable GL_LINE_SMOOTH at the start of my program, and for some reason this cripples the rendering of any primitive with a shader.
It was no problem to just enable and disable LINE_SMOOTH around my line rendering and the problem goes away.
I am running the latest IBM drivers on my T41p, I think they are based on the first set of ATI drivers that supported GL 2.0 (I’ve been waiting for them to update them with ATI’s latest drivers that support FBO’s).
Originally posted by killerseven:
[b]I found the cause of the problem.
I enable GL_LINE_SMOOTH at the start of my program, and for some reason this cripples the rendering of any primitive with a shader.
It was no problem to just enable and disable LINE_SMOOTH around my line rendering and the problem goes away.
I am running the latest IBM drivers on my T41p, I think they are based on the first set of ATI drivers that supported GL 2.0 (I’ve been waiting for them to update them with ATI’s latest drivers that support FBO’s).
Thanks everyone for your help.[/b]
I don’t have a FireGL card, but what drivers does that card use? Catalyst? I am not sure on this but you can try it or look into it, http://www.driverheaven.net/ and look around for the mod tool to make the newest drivers work with your laptop without waiting for IBM. HTH
The Fire GL does use the catalyst drivers, and I have tried using the hacked (non-IBM) ones before, but they messed up my power management so I stick to the official drivers now.