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
docs(changelog): a metal arrives as a metal
esengine782c621b2670
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 4fc6d0bdd..ede9f7a6f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -118,6 +118,17 @@ published separately; it ships inside the editor.F0 — at zero, Schlick's grazing-angle rim would otherwise survive and tintevery existing sprite's edges.+- **A metal arrives as a metal.** `metallicFactor`, `roughnessFactor` and+ `metallicRoughnessTexture` were reported as not-imported on every import+ since the first one: the lighting model had no view direction, so a factor in+ a product would have been a knob nothing read. It has one now, so they are+ parameters of the built-in Model shader like every other channel a glTF+ material carries. Both factors are written even when they match the engine's+ own defaults — glTF defaults them to 1 and 1, a fully rough metal, while the+ shader's metal default is 0, so a product that left them out would describe a+ surface the source did not. Most materials therefore get a product now, where+ before only a normal map, emission, occlusion or a cutoff earned one.+- **A skinned model can say what it is made of.** A material's program iscompiled for the vertex source it draws, and there was no skinned one — so arigged character was refused the material outright and fell back to the