agenda-shaper / wgpu-mc

Rust-based replacement for the default Minecraft renderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wgpu-mc

img

🚀 A blazing fast alternative renderer for Minecraft

Discord

https://discord.gg/NTuK8bQ2hn

Matrix

https://matrix.to/#/#wgpu-mc:matrix.org

Intro

wgpu is a crate implementing the WebGPU specification in Rust. It's primary backends are Vulkan, DirectX 12, and Metal.

Goals

wgpu-mc is a standalone, mostly-batteries-included rendering engine written in Rust. Electrum is a fabric mod that integrates wgpu-mc with Minecraft.

Current status

Both the engine and Electrum are both currently under active development. wgpu-mc is fairly mature, while Electrum needs more development. The whole project is WIP, so something may work one day then be rewritten the next. Terrain rendering works somewhat, while entities are still entirely un-integrated in Electrum. A publicly testable release of the mod should be out Soonish.

WIP and Completed Features

Engine

  • Block models from standard datapacks
    • Multipart
    • Variants
  • Terrain rendering
    • Translucency sorting
    • Frustum culling compute shader
  • Skybox support
  • Instanced Entity Rendering
  • Animated textures
  • Particles
  • Advanced data-driven shader pipeline support

Minecraft

  • Disable Blaze3d
  • GUI rendering (text rendering is mangled but otherwise it works)
  • Terrain rendering
    • Lighting integration
    • Chunk updates
  • Integrate entities
  • Item rendering
  • Implement the Fabric Rendering API (Electrum)
  • Particles

Pie in the sky

About

Rust-based replacement for the default Minecraft renderer

License:Mozilla Public License 2.0


Languages

Language:Rust 63.9%Language:Java 34.8%Language:Kotlin 0.8%Language:Shell 0.2%Language:Batchfile 0.2%