• Register

Wonhon: A Vengeful Spirit is a paranormal stealth action game where you play as a vengeful spirit of a girl who was killed during a bloody and cruel occupation of her country. Now, she has returned from the dead. Gifted with powers from the Jeoseung Saja, the God of Death, she sets out to exact terrible vengeance.

Post news Report RSS Assembling (June 1, 2020)

This is a fun little thing I’ve been working on - spawning hundreds to thousands of an animal and assembling them into a larger version of itself.

Posted by on

28

Assembling
Imgur.com

"This is a fun little thing I’ve been working on - spawning hundreds to thousands of an animal and assembling them into a larger version of itself.

Everything runs on the GPU, so it’s relatively lightweight. Each animal is animated with a vertex shader, and it already contains the vertex position of the animal mesh. So it’s just a matter of sending that same vertex buffer to the compute shader and using positions from that buffer to set the world position of each animal (particle) and animating them in a similar way to vertex shader animation.

These animals aren’t confined to assemble to just the bigger version of themselves either - they can assemble into any shape. The idea of small animals assembling into a larger version is really cool to see, and the vertex buffer already exists so might as well use it again.

Actually, some tiny animal assembling into a giant human shape would be cool too. I should try that soon. A boss monster perhaps." (c) Sean, the Wonhon: A Vengeful Spirit developer.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: