Name the channels in the shadow clipping warning too.
Shadow warnings were a flat blue, so a single crushed channel looked the same as all three. The shadow branch now uses the highlight palette: red/green/blue for one channel, yellow (red+green), magenta (red+blue) and cyan (green+blue) for pairs, white for all three. The render check covers both ends of the range, and `npm run predeploy` chains typecheck, tests, the render check and the build so a shader regression cannot reach a deploy. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -957,6 +957,7 @@ positions. Camera-lens defaults require both a normalised camera and lens name t
|
||||
| `npm run typecheck` | `tsc --noEmit` |
|
||||
| `npm test` | Vitest, one pass then exit |
|
||||
| `npm run check:render` | Headless Chrome check that the 16-bit sidecar and JPEG proxy upload in the same row order |
|
||||
| `npm run predeploy` | Typecheck, unit suite, render check, then build — run this before pushing a deploy |
|
||||
|
||||
Conventions worth knowing before changing code:
|
||||
|
||||
@@ -998,7 +999,9 @@ beside the matching JPEG proxy and measures the rows that reach a WebGL2 texture
|
||||
headless Chrome. Then it renders that image through the real `Renderer` with the Ctrl
|
||||
clipping preview on, so the overlay has to paint red for one clipped channel and yellow
|
||||
for two instead of collapsing to white, and an unclipped band has to turn white once
|
||||
Exposure is pushed past the top of the range. It fails on either regression, printing the
|
||||
Exposure is pushed past the top of the range. The same run checks the shadow warning:
|
||||
red for one channel at black, yellow for red+green, cyan for green+blue. `npm run
|
||||
predeploy` chains it with the typecheck, unit suite and build. It fails on either regression, printing the
|
||||
measured values, needs Chrome (`CHROME_PATH` overrides discovery) and skips with a notice
|
||||
when none is installed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user