Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.11 KB

laz-template-mcbe-shader

A template project for Lazurite.

Setup

  • Install Python 3.11 or higher.
  • Install Lazurite.
  • Download shaderc binary and place it in the project root.
  • Create a folder src-materials in the project root and put vanilla materials.bin files inside it.

Once set up, the project directory should look like this:

├─ src-materials/
│  ├─ Sky.material.bin # or Sky.material.json
│  └─ ...
├─ proj/
│  ├─ ...
│  └─ project.json
├─ shaderc # or shaderc.exe
├─ LICENSE
└─ README.md

Building

To build the shader, run:

lazurite build ./proj

This will build the project inside ./proj.

You can create multiple shader projects if you wish.

├─ mango-shader/
│  ├─ ...
│  └─ project.json
├─ pineapple-shader/
│  ├─ ...
│  └─ project.json
lazurite build ./pineapple-shader

More info

Read Lazurite docs to learn more.