I have a 3D flower model that blossoms. I want to move it's petal to center of the object to close the flower. How do I do it with shader code in unity? I already painted the vertex color to red on the petal and black on the center.
could you show the flower and describe how you want to make it bloom.
intuitively i would scale it (vertex = (((vertex- center ) * scale) +center), but i wouldnt use an uniform scale but play aroube sinus of the y coordinate of the heig
hedit or smoothstep, im a bit rusty with shader code
Replies
could you show the flower and describe how you want to make it bloom.
intuitively i would scale it (vertex = (((vertex- center ) * scale) +center), but i wouldnt use an uniform scale but play aroube sinus of the y coordinate of the heig
hedit or smoothstep, im a bit rusty with shader code