Log inGet started
Package

CardBaker.module

README.md

CardBaker

Authoring-time tool of the tropicalMaterials package: keys a leaf, leaflet, petal or grass tuft painted on a flat key colour (magenta, cyan or yellow) into a clean alpha cut-out with no colour fringe, fits it to its texture with the base flipped to v = 0, bleeds the leaf colour into the transparent margin so mipmaps carry no halo, derives a normal map from its shading, and writes the textures into the package (bake). regrade(name, { target, sat, tipLift }) re-grades a baked card's albedo in place to a target mean colour, desaturating it and lightening the tip end (how the palm fronds were brought to deep emerald). Adapted from forestMaterials' CardBaker.