A JavaScript rendering library for glTF 2.0 models with WebGL2 and WebGPU backends.
RedCube is a JavaScript rendering library designed specifically for displaying 3D models in the glTF 2.0 format. It provides a lightweight solution for integrating interactive 3D graphics into web applications, supporting both WebGL2 and the modern WebGPU backends for high-performance rendering.
Web developers and 3D graphics engineers who need to render glTF models in browsers or Node.js environments, particularly those interested in leveraging WebGPU for cutting-edge performance.
Developers choose RedCube for its comprehensive support of glTF 2.0 extensions, dual backend compatibility with WebGL2 and WebGPU, and its focus on being a specialized, efficient renderer for the glTF format without unnecessary bloat.
JS renderer based on GLTF to WebGPU or WebGL backends.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements numerous KHR extensions like KHR_materials_clearcoat and KHR_materials_iridescence, enabling photorealistic material effects as showcased in the demo images.
Supports both WebGL2 for broad compatibility and WebGPU for cutting-edge performance, with separate demos provided, allowing flexible API choice based on target environment.
Includes KHR_draco_mesh_compression and KHR_texture_basisu support, reducing asset sizes and improving load times for optimized glTF models.
Runs in Node.js for server-side or headless rendering, useful for tasks like generating static images or processing models without a browser, as mentioned in the platforms section.
Exclusively focuses on glTF 2.0, requiring conversion for other formats, which adds complexity for projects using diverse 3D assets.
Lacks integrated tools for physics, sound, or advanced scene management, making it less suitable for full-fledged 3D applications without additional libraries.
WebGPU support is limited to Chrome 113 and above, as noted in the README, forcing reliance on WebGL2 for broader compatibility and potentially missing performance benefits.