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.

1.8 KB
Raw Blame
{
 "version": 4,
 "name": "oracle-custom-sky-perspective",
 "entities": [
  {
   "id": 0,
   "name": "Camera",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      },
      "rotation": {
       "w": 0.9254165783983234,
       "x": 0.33682408883346515,
       "y": 0.16317591116653482,
       "z": -0.0593911746138847
      }
     }
    },
    {
     "type": "Camera",
     "data": {
      "projectionType": 0,
      "orthoSize": 100,
      "nearPlane": 1,
      "farPlane": 2000,
      "isActive": true,
      "priority": 0,
      "fov": 70
     }
    }
   ]
  },
  {
   "id": 1,
   "name": "Sun",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      },
      "rotation": {
       "w": -0.15737869562426263,
       "x": 0.07338689100003823,
       "y": 0.8925389352890299,
       "z": 0.4161977407267834
      }
     }
    },
    {
     "type": "Light",
     "data": {
      "type": 1,
      "color": {
       "r": 1,
       "g": 0.5,
       "b": 0.25,
       "a": 1
      },
      "intensity": 1
     }
    }
   ]
  },
  {
   "id": 2,
   "name": "Look",
   "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": "oracleSky",
        "enabled": true,
        "uniforms": {
         "u_intensity": 0.9
        }
       }
      ]
     }
    }
   ]
  }
 ]
}