1
Games & Programming / opengl problem
« on: Tuesday, October 01, 2013, 19:50:25 PM »
I'm recently trying to learn some opengl, and i'm struggling with a problem. Maybe some of the Devs here can help. Here is the issue:
I'm trying to customize the graphics pipeline. Its all fine as far as the primitive assembly and geometry shaders go. But when I get to the framebuffer blending stage, some weird artefacts start to pop up. I first suspected it has something to do with those ARB_fragment_shader extensions. But after some deep pipeline tracing, i found no evidence. All vertex array objects seem to be correct, and offset texture lookups are validated. glGetUniformLocation works as it should, i checked that also. So the problem has be elsewhere. My next suspicion is that unfiltered texture fetches are not using integer coordinates as they should. But i'm not sure.
Any ideas?
I'm trying to customize the graphics pipeline. Its all fine as far as the primitive assembly and geometry shaders go. But when I get to the framebuffer blending stage, some weird artefacts start to pop up. I first suspected it has something to do with those ARB_fragment_shader extensions. But after some deep pipeline tracing, i found no evidence. All vertex array objects seem to be correct, and offset texture lookups are validated. glGetUniformLocation works as it should, i checked that also. So the problem has be elsewhere. My next suspicion is that unfiltered texture fetches are not using integer coordinates as they should. But i'm not sure.
Any ideas?