# README
OpenPBR
OpenPBR is software that makes creating PBR packs for Minecraft easier. It does this by downloading the latest textures from the Majong assets repo and uses Imagemagick create Height maps and MER files.
This software also supports easily adding custom MER via a folder of PSDs that are exported to PNG during build.
PACKAGES PRODUCED BY THIS PROJECT REQUIRES MINECRAFT PREVIEW OR BETTER RENDER DRAGON
Packages include:
- Tweaked sky colors (UNDER CONSTRUCTION)
- Emissive Ores (PBR only)
- Outlined ores
- Lighting Tweaks (UNDER CONSTRUCTION)
- Hables tone-mapping
- Vanilla Block Assets + Heightmaps and MER
- Upscaling (UNDER CONSTRUCTION)
Requirements
These tools must be accessible via your PATH env. On Windows you can easily modify your PATH by pressing Win+R
and running SystemPropertiesAdvanced
. From that menu, click Environment Variables
and under the varaibles listed for your current user, find Path
. Editting this value will allow you to add new directories to be scanned for applications to be accessible in your environment. Once modified, ensure you restart all instances of Terminal/Powershell
Depending on your version of ImageMagick you may need to modify utils.go
const IM_CMD = "magick"
to use convert
instead.
Usage
- Special dirs/files
- psds - Any psd found in this directory is converted to png and placed in the overrides folder
- overrides - Generated files to be copied
- settings - shared is first copied. Then the everything within the textureset version subfolder
- templates - is genereated when the build occurs.
Run locally
- Download latest release and run
Build locally
Requires Golang
env GOOS=windows GOARCH=amd64 go build .
env GOOS=linux GOARCH=amd64 go build .
TODO
- Better defaults for sky colors/lightning/fog
- Better support for format 1.21.30
- Subpackage support