chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
656 stars 77 forks source link

PBR textures support (Normal maps, height maps, emitter maps, specular maps) #751

Open carterlasalle opened 3 years ago

carterlasalle commented 3 years ago

Allows support for PBR texture packs, so 3d textures get rendered

leMaik commented 3 years ago

This is a big feature and actually PBR includes multiple features:

Branch with normal maps: https://github.com/leMaik/chunky/tree/json-block-models-and-normal-maps (it's pretty slow. I hope that it'll be ready to be merged some day though)

Branch with specular maps (emittance, roughness, reflectance): https://github.com/leMaik/chunky/tree/pbr

Height maps are a whole different topic, but @jackjt8 and me already looked a bit into how it can be done.

Same issue in my fork: https://github.com/leMaik/chunky/issues/14