• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

KilnGraphics/Blaze4D: Minecraft but with Vulkan.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

KilnGraphics/Blaze4D

开源软件地址(OpenSource Url):

https://github.com/KilnGraphics/Blaze4D

开源编程语言(OpenSource Language):

Rust 68.1%

开源软件介绍(OpenSource Introduction):

blaze

Information

Blaze4D is a Fabric mod that changes Minecraft's rendering engine to use the Vulkan Graphics Library, it is currently in Early Development and is NOT intended for use by the faint-hearted. Support for Blaze4D can be found in the #support Discord channel.

Community

We have a Discord server where you can track development progress, ask questions, or just hang out in.

Building

Build Requirements

  • Vulkan SDK - Version 1.3.208 or newer
  • CMake and a C++ compiler - Required for building some of our dependencies
  • Rust - Version 1.62.0 or newer
  • Java 18

Build Steps

To build the project with natives for your platform run

./gradlew build

in the project root directory.

To run the game with the mod use any of the 3 run targets:

  • ./gradlew runClient
  • ./gradlew runClientWithValidation - Enables validation layers
  • ./gradlew runClientWithValidationRenderdoc - Enables validation layers and automatically loads the renderdoc shared library.

Manually building natives

To work on and test natives it can be useful to run cargo manually. To do this it's necessary to first build the assets by running

./gradlew :core:assets:build

This only needs to be repeated if the assets are modified.

After that the natives can be manually built using cargo.

Contributing

  1. Clone the repository (https://github.com/Blaze4D-MC/Blaze4D.git).
  2. Edit
  3. Pull Request

Project Structure

The project is organized in 2 parts

Core

This is the core of Blaze4D that performs the actual rendering and is written in Rust. The gradle project contains 3 subprojects.

  • assets - These are any assets we need to bundle with Blaze4D. For example shaders or fonts. They currently need to be separately built after a change using their gradle build task.
  • natives - The main Blaze4D core rust code.
  • api - A java api of the rust code used by the mod.

Mod

This is the fabric mod itself. Its job is to interface with minecraft. Most of the heavy lifting should take place in Blaze4D core.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap