In this tutorial we will create an animated material with unity. The top part of the calm will move. With this Shader, we calculate the distance between the Camera and the clam, then use this as a mask for rotating the top half.
Github:
https://github.com/UnityTechnologies/...
Blog Post:
https://blogs.unity3d.com/2018/10/05/...
Become a patreon: / ditzelgames
#ditzelgames #unity #gamedev