Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(golden): lighting-3d's points follow the surface shading at its real place

esenginea5380383b3ec
diff --git a/desktop b/desktop
index bcadebb7b..63bec8ee7 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit bcadebb7bc3bdc4d617e4c96bb5a56ba823038e0
+Subproject commit 63bec8ee751027cdb92d6713cfd54f3abf691c9a
diff --git a/tools/goldenProjects.mjs b/tools/goldenProjects.mjs
index 005ee47a6..948b6df45 100644
--- a/tools/goldenProjects.mjs
+++ b/tools/goldenProjects.mjs
@@ -570,8 +570,8 @@ export const GOLDEN = [
// feature it is about and watching it, and only it, go.
webPixels: [
// Only the joints put the mesh here — with the skin gone it draws nowhere.
- { what: 'the skin places the mesh', x: 0.245, y: 0.31, rgb: [63, 62, 66], tol: 22 },
- { what: 'the mesh casts onto the panel', x: 0.37, y: 0.5, rgb: [64, 61, 61], tol: 22 },
+ { what: 'the skin places the mesh', x: 0.245, y: 0.31, rgb: [255, 255, 255], tol: 22 },
+ { what: 'the mesh casts onto the panel', x: 0.515, y: 0.55, rgb: [64, 61, 61], tol: 22 },
// Panel the sun still reaches, lit by the sun AND the environment: it is
// this bright only because both are in the package.
{ what: 'sun and environment light the panel', x: 0.8, y: 0.5, rgb: [206, 195, 181], tol: 14 },