imglib: document "color" key of .wal_json

This commit is contained in:
Eric Wasylishen 2023-02-13 20:55:38 -07:00
parent 72a0a92d3a
commit 03b5537c80
1 changed files with 5 additions and 1 deletions

View File

@ -502,7 +502,11 @@ std::optional<texture_meta> load_wal_meta(
// are these rather than the ones pulled in from the image
// itself. they must be integers.
"width": 64,
"height": 64
"height": 64,
// color to use for lighting bounces. if specified, this
// is used instead of averaging the pixels of the image.
"color": [255, 128, 64]
}
*/
std::optional<texture_meta> load_wal_json_meta(