Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit95280a384c

README.md

hdrChart post-process shader

The synthetic HDR chart: a picture whose every pixel holds light its properties and its position state, drawn in place of the scene. Registered first in the chain (postMetrics.chart.show, priority -1000), it is the input the display transform and every effect after it read, so they are measured against known light with no lighting, geometry or material in between. @builtin::modules.postMetrics computes the same light for any pixel on the CPU (chart.light) and builds the picture a display curve should present for it (chart.reference).

PropertyMeaning
pattern0 ramp, 1 grey wedge, 2 ColorChecker, 3 colour wedge over its grey.
low, highThe ramp's light at the left and right edges.
evMin, evMaxThe wedges' leftmost and rightmost stops; each column is middle grey (0.18) at a whole stop.
gainThe ColorChecker's light, as a multiple of its reflectance.
colorThe ramp's tint, and the colour wedge's saturated patch (scaled to its column's grey luminance).
ditherTriangular noise of that many code values either way, added in display-encoded sRGB.

The effect declares space: light.