r/gameenginedevs • u/Jules-dmvx • 16h ago
Showcasing the engine behind Heavy Metal 👀
Heavy Metal
Heavy Metal is my voxel game about building heavy machinery and playing with your own machines in a highly dynamic, fully simulated environment, and such a renderer was needed to vehicle the spirit of the game.
Playtests will be arriving soon, I will choose the playtesters from the Discord server, join to be apart of it :) https://discord.gg/XwxEXgd48A
Also check out the itch.io page: https://julesdmdev.itch.io/heavy-metal
The engine
I've been working on and off on this voxel engine for more than 3 years, it's finally getting to a state where I'm quite happy about what it's capable of.
I made it myself in C++ with Vulkan it is fully raytraced and supports hardware RT along with software RT for the machines that don't support it.
I also made the physics independently as an open source library focused on machine simulation: Heavy Feather, it simulates arbitrary joint trees, with extremely fast performance and near exact accuracy on the joints themselves. This is what allows Heavy Metal to have truly simulated machines and editable down to the voxel, while it runs. The cylinders actually push on the linkages instead of just having an angle control on a specific model, every machine is programmable. You are in full control of your creations.
My engine features :
- RT ambient occlusion
- Direct lighting (emissives, light fixtures and sun)
- Global Illumination, with different levels of quality to also present good graphics to lower end machines
- Volumetric fog and particles - Dynamic clouds (they shadow the ground) and wind that moves them - God Rays & other effects with volumetrics
- Raytraced reflections, on smooth as well as rough materials
- Bloom, lamp highlights and other things
- Voxel deformation (for soft materials or folliage, in this demo it's only visible on the tires of the machines as I am working on making folliage work that way too)
- Realtime dynamic physics, collisions, joints, etc
- Real time editing of anything, no baking, everything is rendered and simulated directly, from the raw data
- TAA
It's fully featured maximum quality setting runs from 80 to 100fps (traced at 720p presented at 1080p with TAA) on a RTX 3060Ti with an i5 12600KF.
If you want to follow the progress of Heavy Metal, please check out my youtube channel, where I post devlogs and showcases: https://www.youtube.com/channel/UCYantCEDqML6xsB_rqq939g
Tell me what you think and feel free to give suggestions :)