Thursday, December 3, 2015

Final Result Project Lab A

Long time no post.
I haven't posted anything in a long time so I thought it might be good to post a few things I have been doing since my last post.

So one of the problems that we had, was that it is only possible to blend two textures on mobile, while we had three textures. Since there isn't a fancy trick to solve this problem, my solution was to split up the terrain mesh into two parts. One would be the road and the other the sand around it. One of the two textures would be the same in both materials which would make up the blend between the road and the sand.
Red corresponds the texture used for blending
Another small problem would be that there was a seam visible along the edges that were cut, due to the normals of those vertices. This was simply solved by locking the normals before separating the road mesh, allowing the vertices to keep the right normal direction.

Below you can see what the Neppis project looked like at the start, and the final result.

Old vs New

Final outcome of some of the levels that were created for the Neppis project.