Log inGet started
Package

JungleMaterialsBuild.module

This package holds more than this page lists. See all of its files in its world.

README.md

JungleMaterialsBuild

Authoring-time steps of the jungleMaterials package (edit mode), adapted from tropicalMaterials' build:

  • importTile(name, pbrGenFolder, opts) turns a generated PBR tile (a pbr_gen material folder) into <name>_albedo, _normal, _rm and optionally a terrain _mask, reading loose maps when an import never finished.
  • regradeTile(name, opts); wetMask(src, dst, smooth, flatten?) writes a glossy terrain mask for a wet variant (leafLitterWet).
  • writeMaterials() writes materials/ for every own surface on tropicalMaterials' tropicalSolid / tropicalFoliage; writeTable(); writeCollection().
  • bakeTerrainLooks(only?) bakes the painted, toon, lowpoly and pixel albedos of each terrain layer (the engine terrain shades its layers itself).
  • swatches() / clearSwatches(); textureMemory().

Build order: textures (CardBaker cards, importTile tiles), materials, table, terrain looks, table again, collection. It finds the package folder from its own location, so it runs wherever the package is installed.