Right now we divide every triangle into 3 equally sized shards that are shaded based on the elevation and biome of the region which form the 3 corners of the triangle.
This can mean that the water portion extends to a location on a triangle that is, de-facto, above sea level, which causes issues when mapping the rendered tile on the 3d mesh (heightmap).
We need to improve the way the triangle is divided and rendered to ensure that we only render ocean up to sea level and not any further.
Right now we divide every triangle into 3 equally sized shards that are shaded based on the elevation and biome of the region which form the 3 corners of the triangle.
This can mean that the water portion extends to a location on a triangle that is, de-facto, above sea level, which causes issues when mapping the rendered tile on the 3d mesh (heightmap).
We need to improve the way the triangle is divided and rendered to ensure that we only render ocean up to sea level and not any further.