mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
Draw Navara world meshes in the overlay pass after tone mapping
Meshes now go through the same overlay as sprites and lines, so their colours are the ones asked for without undoing the view's exposure. The contract suite no longer carries the mesh colour check as a known failure on Navara.
This commit is contained in:
1 parent
a90407d547
commit
28f3030c31
7 files changed
+129
-107
No files matched your search
@@ -237,12 +237,6 @@ async function runOn(browser, kind) {
|
||||
outcome.push({ name, skipped: owner[1] });
|
||||
continue;
|
||||
}
|
||||
const knownFailure =
|
||||
engine.kind === 'navara' &&
|
||||
name ===
|
||||
'meshes.createMesh: a single colour draws as asked within 10 per channel'
|
||||
? 'Meshes are drawn before tone mapping'
|
||||
: null;
|
||||
try {
|
||||
await run();
|
||||
outcome.push({ name, ok: true });
|
||||
@@ -250,10 +244,6 @@ async function runOn(browser, kind) {
|
||||
outcome.push({
|
||||
name,
|
||||
ok: false,
|
||||
...(knownFailure &&
|
||||
String(error?.message).startsWith(
|
||||
'mesh colour within 10 per channel',
|
||||
) && { knownFailure }),
|
||||
error: String(error?.message ?? error),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user