3D game engine written in Rust.
If you want to support the development of the project, click the link below. I'm working on the project full time and use my savings to drive development forward, I'm looking for any financial support.
These screenshots are from rusty-shooter which is a big demo for the engine.
There are many examples covering various aspects of the engine. Also don't hesitate to create an issue if you need help!
- Deferred shading.
- Directional light.
- Point light + shadows.
- Spot light + shadows.
- Bump mapping.
- Screen-Space Ambient Occlusion (SSAO).
- Soft shadows.
- Volumetric light (spot, point).
- Instancing - render lots of objects without any overhead.
- Render in texture.
- Sky box.
- Multi-camera rendering.
- Multiple scenes.
- Lightmap generator.
- Level-of-detail (LOD) support.
- Scene graph with pivot, camera, mesh, light, particle system, sprite nodes.
- Built-in save/load - save/load state of engine in one call.
- High quality binaural sound with HRTF support.
- Skinning.
- Particle systems with soft particles.
- A* pathfinder.
- Navmesh.
- FBX Loader.
- Full TTF/OTF fonts support (thanks to fontdue and ttf-parser crates).
- PNG, JPG, TGA, DDS, etc. textures (thanks to image crate).
- Compressed textures support (DXT1, DXT3, DTX5)
- Advanced node-based UI with lots of widgets.
- Animation blending state machine - similar to Mecanim in Unity Engine.
- Animation retargetting - allows you to remap animation from one model to another.
- Async asset management (textures, models, sound buffers).
- Advanced physics (thanks to rapier physics engine)
- Rigid bodies.
- Rich set of various colliders.
- Joints.
- Ray cast.
- Many other useful features.
- Core library.
- Fast iterative compilation
- Debug: ~3 seconds
- Release: ~8 seconds
- Lots of examples.
Q: Is rg3d using ECS?
A: No. It is using more classic OOP approach. However, it uses lots of optimizations for efficient memory management such as generational pools.
Q: Examples running too slow on my PC, FPS is too low, help!
A: At first, make sure you run examples on discrete GPU, not on a built-in of your CPU. Built-in GPUs are very slow and not suitable for rg3d. Secondly, make sure your discrete GPU is powerful enough to run modern games at decent frame rate.
- Windows - full support
- Linux - full support
- macOS - full support
- WebAssembly - not supported yet: any help is appreciated.
rg3d require latest stable Rust compiler.
Contributions are very welcome! Please check Issues to see how you can help project and feel free to create your own issue!
- FBX loader supports versions 7100 - 7400. Binary 7500 is not supported yet, but ASCII is.