Conformance: draw.shapes.lit, a lit extruded shape's walls shade by the light

A grey block 300 m tall, seen from 3.3 km south and 1.5 km up looking
north: the wall facing the eye must be brighter than half its colour, as
the renderer's own lit solids draw it, and its top must shade unlike its
wall. It reads pixels, so the stub skips it.
This commit is contained in:
Sameh Khamis committed 2026-11-11 20:13:19 -08:00
1 parent 143f4df049
commit 727a6a2f5e
2 files changed
+72 -1

No files matched your search

+2 -1
View File
@@ -19,11 +19,12 @@ test('the stub passes the conformance suite', async () => {
const skipped = report.results
.filter((r) => r.status === 'skip')
.map((r) => r.id);
// It draws only models into pixels, so the sweep's, a line outline's and
// It draws only models into pixels, so the sweep's, a lit shape's, a line outline's and
// the blends' (over a drawn shape) and video tiles' pixels go unread; its camera takes no user gestures: the drag and wheel scripts are for a
// camera that does (a controller over it, say).
assert.deepEqual(skipped, [
'effects.screenModulation.pixels',
'draw.shapes.lit',
'draw.lines.outline',
'draw.sets.blend',
'draw.models.blend',