The first one is a slight curve downwards. This makes the hairs look less stiff.
The second is slight expansion of each scale as we move further out from the body. Hopefully, this will decrease the gap between the different triangular faces. To improve this, we should change the expansion depending on the angle to the adjacent face, but that's tricky to do since we don't have enough information in the geometry shader where we calculate the displacement. For now it's constant, which means that there is some overlap in some places while some gaps are still not filled. Still, it's an improvement.
The third displacement imitates a wind effect. For now it's just a sine wave but this could be expanded so that it gets input from the piglet's movement.
Inga kommentarer:
Skicka en kommentar