mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
feat(editor): add --gen-texture-rust oxidized-metal pattern
3-octave smooth noise field thresholded by `coverage` to make rust blob regions, blended with the metal base color via a 0.12-wide smoothstep so patches feather into clean metal rather than stepping. Per-pixel grain jitter on top so neither material reads as flat. Defaults: coverage=0.4 (~40% rust), seed=1. Useful for weathered armor, abandoned machinery, ruined castle gates, shipwreck debris. Brings the procedural texture pattern set to 29.
This commit is contained in:
parent
67ede85f7f
commit
4df8661017
3 changed files with 108 additions and 1 deletions
|
|
@ -85,6 +85,8 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Wall with climbing vines: meandering vertical paths via random walk (default 8 vines)\n");
|
||||
std::printf(" --gen-texture-mosaic <out.png> <colorAHex> <colorBHex> <colorCHex> [tilePx] [seed] [W H]\n");
|
||||
std::printf(" 3-color mosaic: small square tiles with random color picks + grout (default 16px)\n");
|
||||
std::printf(" --gen-texture-rust <out.png> <metalHex> <rustHex> [seed] [coverage] [W H]\n");
|
||||
std::printf(" Metal with rust patches: noise blob threshold + per-pixel grain (default coverage=0.4)\n");
|
||||
std::printf(" --add-texture-to-zone <zoneDir> <png-path> [renameTo]\n");
|
||||
std::printf(" Copy an existing PNG into <zoneDir> (optionally renaming it on the way in)\n");
|
||||
std::printf(" --gen-mesh <wom-base> <cube|plane|sphere|cylinder|torus|cone|ramp> [size]\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue