Spellcaster Studios

Make it happen…

Category Archives: Technology

Merging the flow…

Not much time for game development today, but still I started work on the merge of the flow maps… So now the editor-created content can have a flow map, and this flow map should be merged with one that is generated from rivers, lakes, etc… It’s a bit weird getting this to work, because the […]

Most bugs gone…

Got most of the bugs sorted… the black spots were caused by a bad multiplication on the shaders when they didn’t have diffuse lighting, and the offset of the flow map was wrongly computed… Now everything’s working as it should: Still have a small issue with loading the flow map from the hard drive, but […]

More editor bugs, sigh…

Started the day testing the flow map: Need to make it more sophisticated to handle all cases (not just the test ones), but it’s a step in the right direction… Then, to start work on that, I loaded up a temple: A lot of problems here: the black spots (where there’s only emissive color on […]

Water and lava flow on editor

Still working on getting the lava and water flow to be automatically generated on the editor… Had huge problems getting the UV mappings to work properly: In case you’re thinking “what am I looking at?”, you’re looking at something finally working… All water should be black and the edges should go to yellow… Now I […]

More editor work

Found some more bugs on the editor… First I fixed the alphas (easy enough): After, I had to fix the “glue” system… After the revamp of the raycasting system, apparently I screwed up the one on the editor, so I had to go in and fix it… Was a bit of work, but I got […]

Editor effects

Today I started adding the rendering effects to the editor, since I’ll need them to build some stuff for the teaser trailer I’m working on… First I had to get it working again properly (a lot of changes since I last used it), but that didn’t take long… Then, time to add the ambient occlusion […]

Cracked lighting

As I mentioned yesterday, I got a small problem with the lighting of the cracks… What on paper seemed like a good idea, a decal that would illuminate the surrounding area, in practice it looks terrible when an enemy passes through it: The solution I found to this problem was to do some vertical attenuation… […]

Split mechanic and good ideas on paper…

Today I implemented the split mechanic… I wanted something to beef up some boss fights, and I decided to implement a split mechanic: when some robots explode, they spawn two (or more) versions of himself, at half strength… Visually, it’s not done (it’s too sudden, needs some transition, like an explosion or teleport effect), but […]

Raycasting optimization

Yesterday, while playing around with the beam cannon, I found some bugs on the collision detection, so today I dived right into that… The current method for raycasting on the voxel map is to do sampling: start at the beginning of the ray and walk through it, checking if it is a solid cell. Of […]

New beam cannon

While playing around with the beam cannon, I found some visual glitches with the line drawing code, which ended up not being solvable by simple methods (they were basically a consequence of trying to use a line to draw what’s more accurately a cylinder). So, after trying to fix this still using the line code, […]