A fork from the official Madrona. The fork will be used for Genesis's own Madrona integration.
Actively maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. A safe choice.
pip install gs-madronags-madrona — A Fork of Madrona and Madrona-MJX for Genesis
It started as a fork of Madrona for the core C++ implementation, created in 2025. Since the fork, substantial modifications have been made to adapt the codebase for Genesis simulator, including:
- Integrating Python interface based on Madrona-MJX and designed for Genesis.
- Adding new features to support the continuous development. For more details, please refer to Features Added Since Fork
- Removing features not used by Genesis. For more details, please refer to Removed Features
Due to the extent of these changes, gs-madrona has diverged significantly from its origins. It is now a fully independent project with no intention of maintaining backward compatibility. Our focus is solely on evolving gs-madrona into a robust and efficient batch renderer for Genesis.
Scope and Objectives
gs-madrona aims to provide a general-purpose high-throughput batch renderer that supports both rasterization and single-bounce ray-tracing pipelines.
It is a renderer used in Genesis to provide native support of batched processing. With gs-madrona, multiple environments and cameras can be rendered offscreen in parallel, significantly improving performance compared to renderers doing sequential processing.
At present, batch rendering supports only basic materials, lighting, and shadows. However, we aim to expand its capabilities to include more advanced rendering features.
While gs-madrona currently depends on Genesis, we plan to decouple it in the near future to support broader use cases through a more generic interface.
Features Added Since Fork
- Support for non-square resolutions
- Shadow rendering in the rasterizer pipeline
- Anti-aliasing support for rasterizer output
- Lighting support (rasterizer and ray tracer) using Genesis-defined light sources
- Unified lighting model between rasterizer and ray tracer
- Support for spot lights and directional lights with intensity and shadow-casting flags
- Automatic mipmap generation for all textures
- CUDA kernel caching with dirty-check rebuild
- Fixed vertex normal computation in the ray tracer
- Benchmark scripts comparing Madrona with other batch renderers, including IsaacLab and ManiSkill