diff --git a/assets/data/scene.json b/assets/data/scene.json new file mode 100644 index 0000000..460293a --- /dev/null +++ b/assets/data/scene.json @@ -0,0 +1,637 @@ +{ + "created": "right now", + "entities": { + "87e6b060-1628-11e8-888b-026349a27a7c": { + "name": "Root", + "tags": [], + "enabled": true, + "resource_id": "87e6b060-1628-11e8-888b-026349a27a7c", + "parent": null, + "children": ["87e6b061-1628-11e8-888b-026349a27a7c", "87e6b05f-1628-11e8-888b-026349a27a7c", "87e6b05e-1628-11e8-888b-026349a27a7c"], + "position": { + "0": 0, + "1": 0, + "2": 0 + }, + "rotation": { + "0": 0, + "1": 0, + "2": 0 + }, + "scale": [1, 1, 1], + "components": { + "script": { + "enabled": true + } + } + }, + "87e6b061-1628-11e8-888b-026349a27a7c": { + "name": "Camera", + "tags": [], + "enabled": true, + "resource_id": "87e6b061-1628-11e8-888b-026349a27a7c", + "parent": "87e6b060-1628-11e8-888b-026349a27a7c", + "children": [], + "position": { + "0": 7.05719003235572e-7, + "1": 2.4142136573791504, + "2": -0.000002646449956955621 + }, + "rotation": { + "0": 90, + "1": -89.76593017578125, + "2": 180 + }, + "scale": [1, 1, 1], + "components": { + "camera": { + "clearColor": [0.20392157137393951, 0.2862745225429535, 0.3686274588108063, 1], + "clearColorBuffer": true, + "clearDepthBuffer": true, + "clearStencilBuffer": true, + "nearClip": 0.1, + "farClip": 1000, + "fov": 45, + "orthoHeight": 4, + "projection": 0, + "priority": 1, + "rect": [0, 0, 1, 1], + "scissorRect": [0, 0, 1, 1], + "enabled": true, + "frustumCulling": true, + "cullFaces": true, + "flipFaces": false, + "aspectRatio": 3.1219512195121952, + "renderTarget": null, + "postEffects": null, + "isRendering": false, + "calculateTransform": null, + "calculateProjection": null, + "horizontalFov": false + }, + "script": { + "enabled": true + } + } + }, + "87e6b05f-1628-11e8-888b-026349a27a7c": { + "name": "Light", + "tags": [], + "enabled": true, + "resource_id": "87e6b05f-1628-11e8-888b-026349a27a7c", + "parent": "87e6b060-1628-11e8-888b-026349a27a7c", + "children": [], + "position": { + "0": 0, + "1": 1, + "2": 0 + }, + "rotation": { + "0": -111.36270141601562, + "1": -71.05379486083984, + "2": -169.38919067382812 + }, + "scale": [1, 1, 1], + "components": { + "light": { + "enabled": true, + "type": "directional", + "color": [1, 1, 1, 1], + "intensity": 1, + "castShadows": true, + "shadowDistance": 16, + "shadowResolution": 1024, + "shadowBias": 0.2, + "normalOffsetBias": 0.05, + "range": 8, + "innerConeAngle": 40, + "outerConeAngle": 45, + "falloffMode": 0, + "shadowType": 2, + "vsmBlurSize": 5, + "vsmBlurMode": 0, + "vsmBias": 0.01, + "cookieAsset": null, + "cookie": null, + "cookieIntensity": 1, + "cookieFalloff": true, + "cookieChannel": "rgb", + "cookieAngle": 0, + "cookieScale": [1, 1], + "cookieOffset": [0, 0], + "shadowUpdateMode": 2, + "mask": 1, + "affectDynamic": true, + "affectLightmapped": false, + "bake": false, + "bakeDir": true, + "isStatic": false + } + } + }, + "87e6b05e-1628-11e8-888b-026349a27a7c": { + "name": "Model", + "tags": [], + "enabled": true, + "resource_id": "87e6b05e-1628-11e8-888b-026349a27a7c", + "parent": "87e6b060-1628-11e8-888b-026349a27a7c", + "children": ["aa888f19-3a29-496e-b0c0-75a13163bec0"], + "position": { + "0": 0, + "1": 0, + "2": 0 + }, + "rotation": { + "0": 0, + "1": 0, + "2": 0 + }, + "scale": [1, 1, 1], + "components": { + "model": { + "enabled": true, + "type": "asset", + "asset": 11159698, + "castShadows": true, + "receiveShadows": true, + "materialAsset": null, + "mapping": { + "1": 11159696 + }, + "castShadowsLightmap": true, + "lightmapped": false, + "lightmapSizeMultiplier": 1, + "isStatic": false, + "batchGroupId": -1, + "material": { + "name": "Untitled", + "id": 0, + "_shader": null, + "variants": {}, + "parameters": { + "material_ambient": { + "scopeId": null, + "data": { + "0": 0, + "1": 0, + "2": 0 + }, + "passFlags": 3 + }, + "material_diffuse": { + "scopeId": null, + "data": { + "0": 0, + "1": 0, + "2": 0 + }, + "passFlags": 3 + }, + "material_specular": { + "scopeId": null, + "data": { + "0": 0, + "1": 0, + "2": 0 + }, + "passFlags": 3 + }, + "material_shininess": { + "scopeId": null, + "data": 0.25, + "passFlags": 3 + }, + "material_emissive": { + "scopeId": null, + "data": { + "0": 0, + "1": 0, + "2": 0 + }, + "passFlags": 3 + }, + "material_opacity": { + "scopeId": null, + "data": 1, + "passFlags": 3 + }, + "material_occludeSpecularIntensity": { + "scopeId": null, + "data": 1, + "passFlags": 3 + }, + "material_reflectivity": { + "scopeId": null, + "data": 1, + "passFlags": 3 + } + }, + "_alphaTest": 0, + "alphaToCoverage": false, + "blend": false, + "blendSrc": 1, + "blendDst": 0, + "blendEquation": 0, + "separateAlphaBlend": false, + "blendSrcAlpha": 1, + "blendDstAlpha": 0, + "blendAlphaEquation": 0, + "cull": 1, + "depthTest": true, + "depthWrite": true, + "stencilFront": null, + "stencilBack": null, + "redWrite": true, + "greenWrite": true, + "blueWrite": true, + "alphaWrite": true, + "meshInstances": [], + "dirtyColor": true, + "_ambient": { + "buffer": {}, + "data": { + "0": 0.699999988079071, + "1": 0.699999988079071, + "2": 0.699999988079071, + "3": 1 + }, + "data3": { + "0": 0.699999988079071, + "1": 0.699999988079071, + "2": 0.699999988079071 + } + }, + "_diffuse": { + "buffer": {}, + "data": { + "0": 1, + "1": 1, + "2": 1, + "3": 1 + }, + "data3": { + "0": 1, + "1": 1, + "2": 1 + } + }, + "_specular": { + "buffer": {}, + "data": { + "0": 0, + "1": 0, + "2": 0, + "3": 1 + }, + "data3": { + "0": 0, + "1": 0, + "2": 0 + } + }, + "_emissive": { + "buffer": {}, + "data": { + "0": 0, + "1": 0, + "2": 0, + "3": 1 + }, + "data3": { + "0": 0, + "1": 0, + "2": 0 + } + }, + "_emissiveIntensity": 1, + "_shininess": 25, + "_heightMapFactor": 1, + "_opacity": 1, + "_bumpiness": 1, + "_reflectivity": 1, + "_occludeSpecularIntensity": 1, + "_refraction": 0, + "_refractionIndex": 0.6666666666666666, + "_metalness": 1, + "_aoUvSet": 0, + "_ambientSH": null, + "_cubeMapProjectionBox": null, + "dirtyShader": true, + "_chunks": {}, + "_ambientTint": false, + "_diffuseTint": false, + "_specularTint": false, + "_emissiveTint": false, + "_fastTbn": false, + "_specularAntialias": false, + "_useMetalness": false, + "_occludeDirect": false, + "_normalizeNormalMap": true, + "_conserveEnergy": true, + "_occludeSpecular": 1, + "_shadingModel": 1, + "_fresnelModel": 0, + "_cubeMapProjection": 0, + "_customFragmentShader": null, + "_forceFragmentPrecision": null, + "_useFog": true, + "_useLighting": true, + "_useGammaTonemap": true, + "_useSkybox": true, + "_forceUv1": false, + "_pixelSnap": false, + "_twoSidedLighting": false, + "_diffuseMap": null, + "_diffuseMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_diffuseMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_diffuseMapUv": 0, + "_diffuseMapChannel": "rgb", + "_diffuseVertexColor": false, + "_diffuseVertexColorChannel": "rgb", + "_specularMap": null, + "_specularMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_specularMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_specularMapUv": 0, + "_specularMapChannel": "rgb", + "_specularVertexColor": false, + "_specularVertexColorChannel": "rgb", + "_emissiveMap": null, + "_emissiveMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_emissiveMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_emissiveMapUv": 0, + "_emissiveMapChannel": "rgb", + "_emissiveVertexColor": false, + "_emissiveVertexColorChannel": "rgb", + "_normalMap": null, + "_normalMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_normalMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_normalMapUv": 0, + "_normalVertexColor": false, + "_metalnessMap": null, + "_metalnessMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_metalnessMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_metalnessMapUv": 0, + "_metalnessMapChannel": "g", + "_metalnessVertexColor": false, + "_metalnessVertexColorChannel": "g", + "_glossMap": null, + "_glossMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_glossMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_glossMapUv": 0, + "_glossMapChannel": "g", + "_glossVertexColor": false, + "_glossVertexColorChannel": "g", + "_opacityMap": null, + "_opacityMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_opacityMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_opacityMapUv": 0, + "_opacityMapChannel": "g", + "_opacityVertexColor": false, + "_opacityVertexColorChannel": "g", + "_heightMap": null, + "_heightMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_heightMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_heightMapUv": 0, + "_heightMapChannel": "g", + "_heightVertexColor": false, + "_heightVertexColorChannel": "g", + "_aoMap": null, + "_aoMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_aoMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_aoMapUv": 0, + "_aoMapChannel": "g", + "_aoVertexColor": false, + "_aoVertexColorChannel": "g", + "_lightMap": null, + "_lightMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_lightMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_lightMapUv": 1, + "_lightMapChannel": "rgb", + "_lightVertexColor": false, + "_lightVertexColorChannel": "rgb", + "_msdfMap": null, + "_msdfMapTiling": { + "data": { + "0": 1, + "1": 1 + } + }, + "_msdfMapOffset": { + "data": { + "0": 0, + "1": 0 + } + }, + "_msdfMapUv": 0, + "_msdfMapChannel": "rgb", + "_msdfVertexColor": false, + "_msdfVertexColorChannel": "rgb", + "_cubeMap": null, + "_sphereMap": null, + "_dpAtlas": null, + "_prefilteredCubeMap128": null, + "_prefilteredCubeMap64": null, + "_prefilteredCubeMap32": null, + "_prefilteredCubeMap16": null, + "_prefilteredCubeMap8": null, + "_prefilteredCubeMap4": null, + "diffuseMapTransform": null, + "specularMapTransform": null, + "emissiveMapTransform": null, + "normalMapTransform": null, + "metalnessMapTransform": null, + "glossMapTransform": null, + "opacityMapTransform": null, + "heightMapTransform": null, + "aoMapTransform": null, + "lightMapTransform": null, + "msdfMapTransform": null, + "ambientUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "diffuseUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "specularUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "emissiveUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "cubeMapMinUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "cubeMapMaxUniform": { + "0": 0, + "1": 0, + "2": 0 + }, + "_propsSet": ["material_ambient", "material_diffuse", "material_specular", { + "name": "material_shininess", + "value": 0.25 + }, "material_emissive", "material_opacity", "material_occludeSpecularIntensity", "material_reflectivity"] + } + } + } + }, + "aa888f19-3a29-496e-b0c0-75a13163bec0": { + "name": "test", + "tags": [], + "enabled": true, + "resource_id": "aa888f19-3a29-496e-b0c0-75a13163bec0", + "parent": "87e6b05e-1628-11e8-888b-026349a27a7c", + "children": [], + "position": { + "0": 0, + "1": 0, + "2": 0 + }, + "rotation": { + "0": 0, + "1": 0, + "2": 0 + }, + "scale": [1, 1, 1], + "components": {} + } + }, + "name": "my new scene", + "project_id": 0, + "scene": 0, + "settings": { + "physics": { + "gravity": { + "0": 0, + "1": -9.800000190734863, + "2": 0 + } + }, + "render": { + "exposure": 1, + "fog": "none", + "fog_color": [0, 0, 0], + "fog_destiny": 0.01, + "fog_end": 1000, + "fog_start": 1, + "gamma_correction": 2, + "global_ambient": [0.2, 0.2, 0.2], + "lightmapMaxResolution": 2048, + "lightmapMode": 1, + "lightmapSizeMultiplier": 16, + "skybox": 11159695, + "skyboxIntensity": 1, + "skyboxMip": 1, + "tonemapping": 3 + } + } +}