P0-A2: Part 470: Oceans
by PhoenixGames on Nov.11, 2018, under Astral Realms, P-0, Software and Games, Spiritus Astrum
The next major goal with the project is to try to add realistic oceans to the terrain system.
This will be complex, because the existing terrain shader that I wrote only blends a set of textures (based on the height above sea level).
Adding a water shader to this will be difficult.
I am going to try setting the water layer to a bright colour, and using this as an ID map, so that I can apply a second material to the terrain geometry, and apply that material only to the specified colour.