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.

Remove obsolete camera fields from reflection scenes

yhhb341bb5a64db
diff --git a/desktop b/desktop
index f508d37fa..f888bb8f2 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit f508d37fa12c1f4487b707ac08b45f7d76509536
+Subproject commit f888bb8f2c81db9098d65495c96d73806e75050d
diff --git a/examples/planar-reflection/assets/scenes/main.esscene b/examples/planar-reflection/assets/scenes/main.esscene
index de76d859c..c43256c20 100644
--- a/examples/planar-reflection/assets/scenes/main.esscene
+++ b/examples/planar-reflection/assets/scenes/main.esscene
@@ -32,12 +32,6 @@
"orthoSize": 6,
"isActive": true,
"clearFlags": 3,
- "backgroundColor": {
- "r": 0.02,
- "g": 0.02,
- "b": 0.02,
- "a": 1
- },
"fov": 50,
"nearPlane": 0.1,
"farPlane": 100
@@ -102,7 +96,7 @@
"data": {
"position": {
"x": -1.3,
- "y": 1.0,
+ "y": 1,
"z": 0
},
"scale": {
diff --git a/fixtures/scenes/planar-reflection.esscene b/fixtures/scenes/planar-reflection.esscene
index c14e28dea..a51f68ab1 100644
--- a/fixtures/scenes/planar-reflection.esscene
+++ b/fixtures/scenes/planar-reflection.esscene
@@ -32,12 +32,6 @@
"orthoSize": 6,
"isActive": true,
"clearFlags": 3,
- "backgroundColor": {
- "r": 0.02,
- "g": 0.02,
- "b": 0.02,
- "a": 1
- },
"nearPlane": 0.1,
"farPlane": 100
}
@@ -101,7 +95,7 @@
"data": {
"position": {
"x": -1.3,
- "y": 1.0,
+ "y": 1,
"z": 0
},
"scale": {
@@ -237,12 +231,6 @@
"orthoSize": 6,
"isActive": false,
"clearFlags": 3,
- "backgroundColor": {
- "r": 0.02,
- "g": 0.02,
- "b": 0.02,
- "a": 1
- },
"nearPlane": 0.1,
"farPlane": 100,
"priority": 1,