A template project for Lazurite.
- 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 vanillamaterials.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
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
Read Lazurite docs to learn more.