Spellcaster Studios

Make it happen…

Category Archives: Technology

Finished the per-pixel shaders

As the title indicates, today I finished up the other shaders in per-pixel mode… Still need to port them over to OpenGL (I’ve done them on Direct3D because I still don’t trust the OpenGL renderer that much), but that should be a couple of hours… Now listening to “Sirenian Shores” by “Sirenia” Link of the […]

Per-pixel lighting

First draft of the per-pixel lighting on “Gateway”… It’s a bit hard to see the effect, because the vertex density is quite high normally. Per vertex: Per pixel: You can notice it especially on the edge of light behind the player… Still missing the per-pixel lighting on the other shaders of the game, but it […]

Issue with bitfields

On my rendering system, I’m using something I call a “render environment” to compile the right version of the shader. This has data like how many lights are active, what types, what components are enabled on the mesh (normal, how many texture coordinates), what render pass are we doing, etc. This is stored on a […]

Attack slots

The AI on Gateway searches for an attack slot on the target. That’s used to stop the AIs from clustering on a single position. They request an attack slot to the target, and they keep refreshing it, until they lose it if they don’t target it anymore. Until now, the attack slots were attributed in […]

Minor polish

Today I mostly fixed small things that were on the polish list for ages now, like transparent map display (and better filtering on it), and other dozens of small items: Sometimes this takes way longer than it should, not from an actual work perspective, but just deciding if 60% opacity is better than 50% and […]

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 […]

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 […]