From 03b5537c80f68282bc6a1ba5c38778ff98e78cf2 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 13 Feb 2023 20:55:38 -0700 Subject: [PATCH] imglib: document "color" key of .wal_json --- common/imglib.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/imglib.cc b/common/imglib.cc index 589e970a..83e2a36e 100644 --- a/common/imglib.cc +++ b/common/imglib.cc @@ -502,7 +502,11 @@ std::optional 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 load_wal_json_meta(