Moo-Ack-Productions / MCprep

Blender python addon to increase workflow for creating minecraft renders and animations
https://theduckcow.com/MCprep
GNU General Public License v3.0
268 stars 25 forks source link

Refactored colorspace setup to be more flexible #536

Closed StandingPadAnimations closed 4 months ago

StandingPadAnimations commented 4 months ago

In the past, we'd set this to a hard coded value. However, that proved to be annoying to users using non-standard OCIO configs like ACES or early versions of AgX. MCprep already fixes MTL files for ACES compatibility, so we're expanding this to prep materials.

In mcprep_data.json, there will now be a section called "non_color_options", which is a list of different options for Non-Color Data/Generic Data. If a user is using a non-standard setup, they can simply add the correct option in the JSON file and prep materials will function properly.

The matching goes in order from first to last, and MCprep will use the first value matched at runtime.