Archive 17/01/2023.

Best way to implement animated billboards?

NessEngine

Whats the best way to add animated billboards with 3d depth test into my game? I don’t know how many I’ll have, its dynamic for effects and some types of NPCs. Should I use BillboardSet or is there something more suitable?

Think for example sprites of old games like doom or duke 3d, but they need to interact with 3d models. They should also be affected by lights and shadows (assume normals always facing forward).

Thanks!

Leith

Take a look at ParticleEmitter - it derives from BillboardSet and may be a bit closer to what you want.

Modanung

I made an animated billboard set for OGTatt:

Feel free to consider this AnimatedBillboardSet MIT-licensed, btw.