Spellcaster Studios

Make it happen…

Category Archives: Technology

Live from the Netherlands!

Or sort of… I came to the Netherlands to finish some work for my previous employer, just tying loose ends, so I don’t have much time during this week to work on the game… Still, I’ve been making some progress, and most of the stuff called out on the Game Dev Camp are fixed and/or […]

More bug tracking…

Busy squashing bugs… Most of them are quite small stuff that was more nuisances than actual bugs, but in the last couple of weeks I’ve found some “big” stuff. One of these was some conditions where the story planets couldn’t be generated properly, which meant the game would get stuck in the generation phase… That […]

Fixed it!

So the problem ended up being the fact that the z-buffer associated with the render target wasn’t the same size, so it got clamped… It still smells of driver bug in fact, since depth testing, writing, etc, was turned off, but it was more or less simple to fix: just create a 1024×1024 depth buffer […]

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: When I use a 256×256 […]

More work…

I’ve been away for a few days… During that time, I sorted some of the issues from my Game Dev Camp, but mostly I spent my (very little) time trying to figure out a graphical bug in the game. It only happens on OpenGL on my laptop, but it’s still super annoying: You see that […]

Shader quality

Just added a shader quality system to the game, so that some shaders can be customized for less-powerfull GPUs (like the one I have on my Mac). Currently, only the ambient occlusion stuff is affected by it (since the Mac seems to be sampling-limited). So, without AO: Maximum shader quality: Minimum shader quality: Not amazing, […]

Occlusion on water

Still working on the occlusion on the water… The major problem is that this is very render-pipeline dependent. I have to render the water in the depth/normal pass, or else I won’t have decals, so I’m kind of stuck with what I can do with it… So, I decided to try a different approach: use […]

Cache issue fixed

So the bug I found yesterday was cache related… The planet (including the flow map) was being regenerated when I went back to the ship, but the associated areas weren’t, so they were still drawing the old data… Took me a bit to figure out, because I couldn’t do any debugging in debug mode, because […]

Crash analysis

Well, the crash I thought was gone wasn’t that gone… Took me a bit to track it down, but finally I got it down… At first, it seemed to be a memory corruption somewhere, but it only manifested itself on the Mac build. Activating memory guard and other helper debugging tools didn’t show any memory […]

More static analysis

Finished up the static analysis and fixed all of the issues, except a real no-issue with an external library… The crash I was getting on Mac seems to be gone as well, but I need more testing to make sure… As I’ve mentioned, my life has taken a bit of turn in the last couple […]