GithubHelp home page GithubHelp logo

includedberry11 / newb-x-mcbe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devendrn/newb-x-mcbe

0.0 0.0 0.0 885 KB

A custom vanilla RenderDragon shader for Minecraft Bedrock

Home Page: https://devendrn.github.io/newb-shader

License: MIT License

Shell 42.25% C 37.29% Scala 4.78% SuperCollider 13.95% Batchfile 1.74%

newb-x-mcbe's Introduction

Newb X Legacy

Newb X Legacy is a RenderDragon successor to the legacy GLSL shader, Newb Shader. It is an enhanced vanilla shader that focuses on being lightweight and having soft aesthetics. It supports Minecraft Bedrock 1.20 (Windows/Android/*iOS).

Warning

This is an experimental repository, breaking changes are made often.

Screenshot1

Downloads

Nightly builds for Android (ESSL) and Windows (DX) can be found at the Discord server.

Installation

Note

Shaders are not officially supported on Minecraft Bedrock. The following are unofficial ways to load shaders.

Linux: mcpelauncher-manifest

  1. Extract material.bin files from shader mcpack / build materials manually
  2. Move these files to data root mcpelauncher/versions/1.20.x/assets/renderer/materials/. (Make sure to backup all files in this folder first)
  3. Import the resource pack and activate it in global resources.

Windows:

  1. Use BetterRenderDragon to enable MaterialBinLoader.
  2. Import the resource pack and activate it in global resources.

Android:

  1. Install Patched Minecraft App
  2. Import the resource pack and activate it in global resources.

Building

Windows:

  1. Setup build environment: .\setup.bat
  2. Compile material src files: .\build.bat

Linux:

  1. Setup build environment: ./setup.sh
  2. Compile material src files: ./build.sh

Available parameters for the build script:

Option Parameter description
-p Target platforms (Android, Windows, iOS, Merged)
-m Materials to compile (if unspecified, builds all material files)
-t Number of threads to use for compilation (default is CPU core count)

For example, to build only terrain for Android and Windows, use:

.\build.bat -p Windows Android -m RenderChunk

Compiled material.bin files will be inside build/<platform>/

Pack

To build the final pack, including all subpacks, use pack.sh. If you are on Windows, use a bash shell like Git Bash to run this script file. (Make sure to use the -w tag when you are running the script from a Windows machine) 

Linux:

./pack.sh -v 15.0

Windows:

./pack.sh -w -v 15.0 -p Windows
./pack.sh -w -v 15.0 -p Android

The final pack files will be inside build/<platform>/temp/

Development

Clangd can be used to get code completion and error checks for source files inside include/newb. Fake bgfx header and clangd config are provided for the same.

  • Neovim (NvChad): Install clangd LSP from Mason.
  • VSCode: Install vscode-clangd extension.

newb-x-mcbe's People

Contributors

devendrn avatar includedberry11 avatar indeeditzgab avatar miqumi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.