I'm going to do a mirror thread here about my little RPG project.
The previous step was this: https://twitter.com/Froyok/status/1518266804807815169
Of course, I had to put some Chromatic Aberration in the blur pass. ;D
That blur pass is now the heaviest part of the post-process system, more than the bloom itself !
Alright, I always struggle with math but I'm finally making progress here. I'm finally able to draw my tiles index image in a single screenspace pass now, at the right size ! :)
Finally made it work !
I'm walking on my map, yeay !
I made only the base layer work for now, next are the other layers. Then it will be collisions.
The advantage of using Substance Designer for building textures: using the height-map as a blending mask to make terrain/tiles transition for free.
Each time I want to build a new transition I just need to plug two materials together in a filter. :D
Before moving on to collisions (which I have prepped the data for it already, now I need to translate it into the game) I want to play a bit with water surfaces.
Right now I built a new set of tiles with transparency. The goal is to render the map as a black and white mask and then generated a distance field from the hole.
From there I should be able to generated dynamic shorelines. :)
@froyok Ah yes the old "where's my triangle gone" game.
@TomF More like "where should that UV coordinate go" in this case. :D
@froyok congrats!
Like I mentionned before I have the following map which is exported as an "unprocessed" json.
This time I added a second layer (rocks and flowers).