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.

5.0 KB
Raw Blame
{
  "version": 4,
  "name": "ProbeCaptureReflection",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 330
            }
          }
        },
        {
          "type": "Camera",
          "data": {
            "projectionType": 0,
            "fov": 50,
            "nearPlane": 1,
            "farPlane": 5000,
            "isActive": true,
            "priority": 0
          }
        }
      ]
    },
    {
      "id": 1,
      "name": "Ball",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "scale": {
              "x": 1.5,
              "y": 1.5,
              "z": 1.5
            }
          }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "builtin:sphere",
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "lit": true,
            "opaque": true,
            "cullBackfaces": true,
            "enabled": true,
            "material": "/scenes/chrome_m0.esmaterial"
          }
        }
      ]
    },
    {
      "id": 2,
      "name": "GreenRight",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 300,
              "y": 0,
              "z": 0
            },
            "scale": {
              "x": 0.1,
              "y": 6,
              "z": 6
            }
          }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "builtin:cube",
            "color": {
              "r": 0,
              "g": 1,
              "b": 0,
              "a": 1
            },
            "lit": false,
            "opaque": true,
            "cullBackfaces": false,
            "enabled": true
          }
        }
      ]
    },
    {
      "id": 3,
      "name": "MagentaLeft",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -300,
              "y": 0,
              "z": 0
            },
            "scale": {
              "x": 0.1,
              "y": 6,
              "z": 6
            }
          }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "builtin:cube",
            "color": {
              "r": 1,
              "g": 0,
              "b": 1,
              "a": 1
            },
            "lit": false,
            "opaque": true,
            "cullBackfaces": false,
            "enabled": true
          }
        }
      ]
    },
    {
      "id": 5,
      "name": "Capture",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 160
            }
          }
        },
        {
          "type": "LightProbeVolume",
          "data": {
            "halfExtents": {
              "x": 300,
              "y": 300,
              "z": 300
            },
            "capture": true,
            "captureInterval": 0,
            "enabled": true
          }
        }
      ]
    },
    {
      "id": 6,
      "name": "Post",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "PostProcessVolume",
          "data": {
            "isGlobal": true,
            "priority": 0,
            "weight": 1,
            "effects": [
              {
                "type": "verifySky",
                "enabled": true,
                "uniforms": {
                  "u_lightScene": 1
                }
              }
            ]
          }
        }
      ]
    },
    {
      "id": 8,
      "name": "Ambient",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Light",
          "data": {
            "type": 2,
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "intensity": 1
          }
        }
      ]
    }
  ]
}