This content originally appeared on DEV Community and was authored by Orion3D
Hi All,
I've been working on character customization systems. It is nearly complete and includes a big performance boost compare to previous method.
I have 2 types of items (I’m sure none of this is new to you guys, but sharing is caring :slight_smile: ):
- dynamic items that I attached via code to the relevant bone (weapon, hat, shields, etc…)
- embedded items which are rigged item in blender (head & armor currently), not much choice there as a skirt for example needs to move with the legs (not possible with the dynamic method)
So I now have one single VAT running that is used by all my “humanoid” characters.
Currently, I can mix and match the following very easily:
- 20 materials,
- 6 heads,
- 3 dynamic items (weapon/shield/helm,head)
- 2 embedded items (white robe, purple robe)
Next step is being able to customize the material for the “embedded” items, currently I apply one material to the full mesh (including the embedded items).
Performance are still good (50-60fps / 40 draw calls approx)
Here are a few shots:
This content originally appeared on DEV Community and was authored by Orion3D
Orion3D | Sciencx (2024-06-16T23:37:38+00:00) Making a Multiplayer WEB RPG – Part 10: Customizing Characters. Retrieved from https://www.scien.cx/2024/06/16/making-a-multiplayer-web-rpg-part-10-customizing-characters/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.