Yearly Archives: 2015
Today I dedicated the evening in working on bugs… Squashed a lot of those, most of it stuff I broken on previous refactorings and others that I knew about forever but didn’t want to fix because that sucks! List includes (but is not limited to): Skybox is now unaffected by the fog Scorch marks now […]
Finally finished the water courses and lakes (with reusable code for lava, etc)! Added waterfalls to water drops: Gives the scene a bit more life, I think… Also ported the water shader to HLSL (screenshots below were taken with D3D renderer), and fixed some issues with the tree placement… All in all, a great day! […]
Today I managed to make the flow of water work on the lakes… in the process I also found some bugs with the terrain generation code that I had to fix… First, without any change to the flow system, this is what I got: It was a quite neat effect, to be honest… but the […]
I’m in Belgium for work, and I hate programming on the laptop (keyboard layout is not confortable), so this is a good time to do a scan of the text of the game, searching for errors and tweaking pieces of text… Boring work, though… Now listening to “The Singularity” by “Scar Symmetry” Link of the […]
Quite happy today with my shader work… The shader I had worked fine, but it looked terrible adjacent squares that had slightly different vectors: It gave the scene some charm, but it wasn’t very pretty looking… Then I had an idea! Basically, the problem was that the new UV that I used on the animation […]
Still working on the water flow shader… After I generated the flow map, this was the result: A lot of noise in most of it… The rest flowed correctly, which was good, though! Drawing the displacement, everything seemed to be ok: And the base UVs: And the displaced UVs: So the problem seemed to be […]
Before I waste more time with generating the geometry for the rivers (to make it flow), I decided to try something different: use the already generated voxels, but with a shader that uses a “flow map” to generate the illusion of movement… So today I spent my time creating the infrastructure for that: If this […]
Finally finished with the terrain/river/lake generation! Yesterday’s problem was easier to address than I expected, everything worked perfectly quite soon… So, we had this yesterday: And today we have this in the same place: The screenshot doesn’t do it justice, but it’s much nicer and more “correct”. So now I’ve started the generation of the […]
Yep, this week has been very original… I’m closer and closer, and the latest addition to the algorithms has really made a difference… After all the process is done, I now do a linear interpolation between the height of the river/lake and the surroundings, making it rise smoothly enough so that the water doesn’t escape! […]
I’ve studied a bit more on A* optimization, and I finally found what the major problem is… The fact that I’m really putting an extremely large penalty on any “rising” terrain means that the system has to search the whole map to find a valid path… Playing around with the factors, I massively reduced the […]