Brute Force - Sand Shader Documentation

10. Performance Tips

Tessellation Factor

Untitled-1.jpg

Probably the biggest performance factor of the sand shader is the tessellation factor.

You should keep the Tessellation Rock to 1 (which is equal to no tessellation)

For PC/Linux I recommend setting Tessellation Sand between 20 and 50 and for mobile/VR/AR you should stay below 20.

The performance hit is relative to the view distance between the sand and the camera.

Material Pragmas

Untitled-1.jpg

Check or uncheck the features you don't need in the material, if you don't need Interactive effect you should disable "Use RT".

Disable Shadow Casting

Untitled-1.jpg

You might not need the shadow casting feature of the mesh renderer in which case this could save you a good performance chunk. This is especially true for terrains which have a Double shadow casting enabled by default!