Today we visited Wroclaw University of Science and Technology to talk about optimising the performance in Unity engine. Achieving good performance is not an easy task, and it requires a lot of time, which you can save by relying on our experience. We collected a fistful of helpful tips in a public Google Slides presentation, where you can leave comments and share your experience.
You have probably experienced stretched and ugly-looking textures on steep slopes when using the terrain engine in Unity. It is caused by a simple planar UV mapping that is employed by the built-in terrain shader. The problem can be solved by applying the triplanar texture mapping. It gives nice-looking textures on vertical surfaces and other complex shapes. This tutorial explains how the technique works, and it provides simple code examples.