How to Flatten an Object, not Scaling.
Scaling shrinks everything in by percentage. This approaches it from a flattening perspective, by sliding and stretching out from one side. This is a great intro for learning how Vertex Shaders work. It uses the nodes for Position and Clamp wired into Vertex - Position for output. We can use this to divide things in half, smoosh half of a car, or convert a 3D animated object into a 2D Animated Object as if it had climbed in or out of a book, comic or picture.
Files can be found on Patreon. https://www.patreon.com/posts/7721379...
Join Discord for to chat about this and other game tech topics.
New Discord Link: https://discord.gg/aSWuGEQeXv
#unity #unity3d #tutorial #videogamedev #gamedev
Education