fix(raw): refine RAW highlight clipping threshold to preserve sunset sun color without white dome clipping
This commit is contained in:
@@ -38,7 +38,7 @@ assert.match(code, /float3 lin = n \* mul\.rgb;/);
|
||||
// with both, mean |dL| 21.5 against 11.1.
|
||||
assert.match(
|
||||
code,
|
||||
/float hi = max\(max\(n\.r, n\.g\), n\.b\);\s*hi = max\(hi, max\(max\(lin\.r, lin\.g\), lin\.b\)\);\s*rgb = mix\(rgb, float3\(mx\), smoothstep\(0\.95, 1\.0, hi\)\);/
|
||||
/float hi = max\(max\(n\.r, n\.g\), n\.b\);\s*hi = max\(hi, max\(max\(lin\.r, lin\.g\), lin\.b\)\);\s*rgb = mix\(rgb, float3\(mx\), smoothstep\(0\.99, 1\.02, hi\)\);/
|
||||
);
|
||||
|
||||
// The inverse is built on the CPU side and has to be the first uniform of the
|
||||
|
||||
Reference in New Issue
Block a user