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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(editor): a selected plane seen from close by no longer draws its diagonal as an outline
yhh4edddf7214a2
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4a1709799..48f4d33eb 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,7 @@ published separately; it ships inside the editor.### Fixed+- **Selection outline across a plane.** The selection outline of a mesh no longer draws a stray line across a large plane seen from close by: a triangle with a corner behind the camera was judged by a different rule than its neighbour, so their shared diagonal showed as an edge.- **Normal maps read against the frame they were baked in.** Imported meshes now carry a tangent at each vertex (a glTF's own direction, or one made from the UVs), and normal maps on them are read against that frame instead of one derived per pixel, which was wrong at UV seams and on stretched textures. Re-import a model to get them; one imported before keeps its old shading. A mesh whose vertices carry a tangent is drawn with an extra vertex attribute and one more varying; a shader of your own that calls `perturbNormal` picks the frame up with no change.- **New Project keeps the wrong template name.** The New Project page no longer keeps the previous template's name when you pick another: the suggested name follows the template, and a name you typed stays.diff --git a/desktop b/desktopindex 6df06f60e..16c82aa6b 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit 6df06f60e5484ef098f8e4b94d4273076c83c9c8+Subproject commit 16c82aa6b1b23c5758266dc8a4f1f931032fc753diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjsindex 1169c4cc5..ff237412d 100644--- a/tools/releaseNotes.mjs+++ b/tools/releaseNotes.mjs@@ -2543,6 +2543,8 @@ export const NOTED = {{"note":"A new Eye shader (`builtin:eye`) draws an eye from a mask and a dome normal map: the iris sits behind a refracting cornea so it moves as the eye turns, with a pupil, fibres and a limbal ring, a white lit with wrapped light, and a near-mirror cornea that shows every light as a catchlight."},"feat(render): a cutout material casts its cut-out shape into shadow maps, and Hair cards cut out by alpha":{"note":"A material whose alpha is coverage (`u_alphaCutoff` above 0, now also on the Hair shader) casts its cut-out shape into shadow maps instead of the rectangle it is drawn on, and Hair cards feather their edges with alpha-to-coverage."},+ "fix(editor): a selected plane seen from close by no longer draws its diagonal as an outline":+ {"note":"The selection outline of a mesh no longer draws a stray line across a large plane seen from close by: a triangle with a corner behind the camera was judged by a different rule than its neighbour, so their shared diagonal showed as an edge."},"chore(tools): the gates run in parallel with --jobs, and the reds a full run gathered are cleared":{"internal":"tooling for the static gates, and fixes to checks that had drifted from the code they guard"},"fix(render): a wire narrower than a pixel is no longer painted over by the sky in dashes":