mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
feat(editor): add --gen-texture-clouds sky pattern
Multi-octave cosine-product noise (4 octaves at doubling frequency, halving amplitude) thresholded by `coverage` so values above the threshold blend toward cloud color and below fade to sky. A 0.15-wide smoothstep band feathers cloud edges instead of stepping hard. Defaults: coverage=0.5 (mixed clouds), seed=1. Useful for skybox cubemaps, distant sky planes, atmospheric backdrop art. Brings the procedural texture pattern set to 25.
This commit is contained in:
parent
3d5a786ca9
commit
08f740a1ff
3 changed files with 107 additions and 0 deletions
|
|
@ -77,6 +77,8 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Square stone tiles with grout grid (default 32px tiles, 2px grout)\n");
|
||||
std::printf(" --gen-texture-bark <out.png> <baseHex> <crackHex> [seed] [crackDensity] [W H]\n");
|
||||
std::printf(" Tree bark: vertical wavy streaks + dark vertical cracks (default density=0.04)\n");
|
||||
std::printf(" --gen-texture-clouds <out.png> <skyHex> <cloudHex> [seed] [coverage] [W H]\n");
|
||||
std::printf(" Sky with puffy clouds: multi-octave noise thresholded by coverage (default 0.5)\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