Spellcaster Studios

Make it happen…

Driver woes?

I think the problem I’m having is driver related… Or at least this driver is a bit more strict than normals and I’m using OpenGL wrong…

So, the game window is 1600×900 (when I’m developing, you can choose when playing). When I use 1024×1024 SSAO, you get the problem below:

screen708

When I use a 256×256 or 512×512, it disappears… Same happens when I use 1600×900… So what’s the difference? The Y-size… 1024 is larger than 900, so it must have something to do with that… The problem happens on the 124 top lines (which are the 124 lower lines in OpenGL, since Y grows up there). To confirm, I lowered the game resolution to 1280×720, and then 304 lines disappear, so I’m pretty sure the problem is related to that difference… First idea was the viewport, but that’s set correctly, as is the scissor rectangle. So it’s maybe a driver issue, but I can’t find no reference about it anywhere (and it seems to be something people would talk about)…

My current guess is that while the depth test is disabled during that render, there’s still a 1280×720 (or 1600×900) depth buffer bound, so maybe that will cause issues… So tomorrow I’m adding a 1024×1024 depth buffer to that step, maybe that will solve it…

Now listening to “Battle Hymns” by “Manowar”

Link of the Day: This is super awesome, more please!

Comment