Spellcaster Studios

Make it happen…

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:

screen611

Still have a small issue with loading the flow map from the hard drive, but that’s probably something minor, and then I can start the “fun” part, which is to get these maps with flow onto the game itself… that will be terrible, I’m sure…

screen612

I also added another way to compute the flow map, which takes in account places where the water/lava will probably flow, and the results are quite acceptable!

The algorithm just finds places where you have a vertical drop, and for all points in the flow map, it searches the closest of these points (that’s lower than the current point) and directs the flow that way… Then, for all the untouched points, I do the reverse, but instead of making the flow go towards that point, I direct the flow away from those points…

Now listening to “Ki” by “Devin Townsend”

Comment