Spellcaster Studios

Make it happen…

Category Archives: Development

Loader

Well, this is one of those days that feels like a waste, although it isn’t… I decided to put in a loader for the game, so that the player has some feedback while it’s loading: All fine and dandy, working perfectly… Problem is that in the process of making the loader, I found a couple […]

Playtesting

Today I wasn’t feeling up to coding (a bit stuck on what the next step should be), so I played the game instead, fixing small bugs as they popped up, doing small balancing tweaks, etc… Now playing: Shadow of Mordor. This is an awesome game, they really managed to make a game that doesn’t step […]

Happy New Year!

Yay! And what better way to start New Year than to have finished the worse task on my task list, the OpenGL port! It still has some stuff that has to be reviewed, optimized, etc, but it’s functional and almost undistinguishable visually from the Direct3D version! Now, I just have to decide on what’s the […]

OpenGL Porting – Part 16

Happy New Year’s Eve! Not much time today to work on the game, just made a couple of shaders and fixed some minor things… I’m almost calling the OpenGL renderer done (although it still has some work with optimization, since it’s quite slower than the DirectX one). I’m having some trouble with the last shader, […]

OpenGL Porting – Part 15

I can smell it already! It’s actually cool (after all the pain) to have a game running on two separate renderers and trying to spot the differences… There’s not much work remaining to be done on the OpenGL renderer, besides testing… I’m finally seeing the end of the road on this one, so much that […]

OpenGL Porting – Part 14

A couple more bugs down, a few dozens to go! Today was rather productive… Fixed the sampling system (didn’t notice there was a sampler object in OpenGL that kind of makes it more similar to DirectX in terms of sampling properties), fixed the 2d render accuracy (needed to offset the coordinates a bit to make […]

OpenGL Porting – Part 13

One more small step! This one was hard… Some geometry wasn’t being drawn, and I thought it was something to do with the bounding box (would be silly), but symptoms were similar to that sort of issues… It ended up because I didn’t know that glVertexAttribPointer has to be called after the buffer in question […]

OpenGL Porting – Part 11

And back to normal programming… Not much, but some! Got some more stuff working on the OpenGL renderer… This time, I found out that I can’t set vertex/pixel constants before I actually set the program! This is the current status, getting closer to an actual working renderer! There’s a screwup somewhere on the lightning (obviously), […]

OpenGL Porting – Part 10

Finally, got the first decent screenshot for the OpenGL renderer: The biggest problems was I was using glBindAttribLocation in the wrong place, after the shader linkage was done… No error was returned, but the bind wasn’t being made… I just don’t know how the UVs were being displayed properly… The 3d part is still a […]

OpenGL Porting – Part 8

Well, I promised no more screenshots of just my development environment… Sorry… This is the first run of the OpenGL port… All code is in, but (obviously enough) it’s not working properly… If I had Pix, I could just go in and see what variable is badly set, or what’s the state of the vertex […]