diff --git a/gameEditor/assets/example.scene/config.json b/gameEditor/assets/example.scene/config.json index 47820d0..6e1570d 100644 --- a/gameEditor/assets/example.scene/config.json +++ b/gameEditor/assets/example.scene/config.json @@ -106,15 +106,15 @@ "applyGravity": false, "updateUpVectorFromRotation": false, "rotation": [ - 0.23466138679888465, - 0.48668946590326523, + 0.3870449848810084, + 0.05980234407784223, 0 ], - "speed": 2000, + "speed": 10, "position": [ - -19666.901457088374, - 17401.223711429564, - -55872.0430330369 + -19.027983524409535, + 129.4532146827724, + -317.01273902922264 ], "upVector": [ 0, diff --git a/gameEditor/assets/example.scene/geometries/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata b/gameEditor/assets/example.scene/geometries/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata deleted file mode 100644 index 32a7d04..0000000 Binary files a/gameEditor/assets/example.scene/geometries/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata and /dev/null differ diff --git a/gameEditor/assets/example.scene/meshes/1679685b-ca9c-4a1c-8161-9f6064cb1d7c.json b/gameEditor/assets/example.scene/meshes/1679685b-ca9c-4a1c-8161-9f6064cb1d7c.json deleted file mode 100644 index e185352..0000000 --- a/gameEditor/assets/example.scene/meshes/1679685b-ca9c-4a1c-8161-9f6064cb1d7c.json +++ /dev/null @@ -1,279 +0,0 @@ -{ - "meshes": [ - { - "name": "New Box", - "id": "1679685b-ca9c-4a1c-8161-9f6064cb1d7c", - "uniqueId": 1764787809874, - "type": "Mesh", - "position": [ - 0, - 0, - 0 - ], - "rotation": [ - 0, - 0, - 0 - ], - "scaling": [ - 1, - 1, - 1 - ], - "localMatrix": [ - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1 - ], - "isEnabled": true, - "isVisible": true, - "infiniteDistance": false, - "pickable": true, - "receiveShadows": true, - "billboardMode": 0, - "visibility": 1, - "alwaysSelectAsActiveMesh": false, - "checkCollisions": false, - "ellipsoid": [ - 0.5, - 1, - 0.5 - ], - "ellipsoidOffset": [ - 0, - 0, - 0 - ], - "doNotSyncBoundingInfo": false, - "isBlocker": false, - "sideOrientation": 1, - "isUnIndexed": false, - "geometryUniqueId": 1764787809875, - "geometryId": "76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc", - "subMeshes": null, - "materialUniqueId": 46, - "materialId": "default material", - "metadata": { - "type": "Box", - "width": 100, - "depth": 100, - "height": 100, - "sideOrientation": 0 - }, - "instances": [], - "animations": [], - "ranges": [], - "layerMask": 268435455, - "alphaIndex": 1.7976931348623157e+308, - "hasVertexAlpha": false, - "overlayAlpha": 1, - "overlayColor": [ - 0, - 0, - 0 - ], - "applyFog": true, - "delayLoadingFile": "assets/example.scene/geometries/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata", - "boundingBoxMaximum": [ - 50, - 50, - 50 - ], - "boundingBoxMinimum": [ - -50, - -50, - -50 - ], - "_binaryInfo": { - "positionsAttrDesc": { - "count": 72, - "stride": 3, - "offset": 0, - "dataType": 1 - }, - "normalsAttrDesc": { - "count": 72, - "stride": 3, - "offset": 288, - "dataType": 1 - }, - "uvsAttrDesc": { - "count": 48, - "stride": 2, - "offset": 576, - "dataType": 1 - }, - "indicesAttrDesc": { - "count": 36, - "stride": 1, - "offset": 768, - "dataType": 0 - }, - "subMeshesAttrDesc": { - "count": 1, - "stride": 5, - "offset": 912, - "dataType": 0 - } - }, - "positions": null, - "normals": null, - "uvs": null, - "hasUVs": true, - "indices": null - } - ], - "transformNodes": [], - "cameras": [], - "lights": [], - "materials": [ - { - "tags": null, - "ambient": [ - 0, - 0, - 0 - ], - "diffuse": [ - 1, - 1, - 1 - ], - "specular": [ - 1, - 1, - 1 - ], - "emissive": [ - 0, - 0, - 0 - ], - "specularPower": 64, - "useAlphaFromDiffuseTexture": false, - "useEmissiveAsIllumination": false, - "linkEmissiveWithDiffuse": false, - "useSpecularOverAlpha": false, - "useReflectionOverAlpha": false, - "disableLighting": false, - "useObjectSpaceNormalMap": false, - "useParallax": false, - "useParallaxOcclusion": false, - "parallaxScaleBias": 0.05, - "roughness": 0, - "indexOfRefraction": 0.98, - "invertRefractionY": true, - "alphaCutOff": 0.4, - "useLightmapAsShadowmap": false, - "useReflectionFresnelFromSpecular": false, - "useGlossinessFromSpecularMapAlpha": false, - "maxSimultaneousLights": 32, - "invertNormalMapX": false, - "invertNormalMapY": false, - "twoSidedLighting": false, - "applyDecalMapAfterDetailMap": false, - "id": "default material", - "name": "default material", - "checkReadyOnEveryCall": false, - "checkReadyOnlyOnce": false, - "state": "", - "alpha": 1, - "backFaceCulling": true, - "cullBackFaces": true, - "_alphaMode": [ - 2 - ], - "_needDepthPrePass": false, - "disableDepthWrite": false, - "disableColorWrite": false, - "forceDepthWrite": false, - "depthFunction": 0, - "separateCullingPass": false, - "fogEnabled": true, - "pointSize": 1, - "zOffset": 0, - "zOffsetUnits": 0, - "pointsCloud": false, - "fillMode": 0, - "_isVertexOutputInvariant": false, - "stencil": { - "tags": null, - "func": 519, - "backFunc": 519, - "funcRef": 1, - "funcMask": 255, - "opStencilFail": 7680, - "opDepthFail": 7680, - "opStencilDepthPass": 7681, - "backOpStencilFail": 7680, - "backOpDepthFail": 7680, - "backOpStencilDepthPass": 7681, - "mask": 255, - "enabled": false - }, - "uniqueId": 46, - "plugins": { - "DetailMapConfiguration": { - "tags": null, - "diffuseBlendLevel": 1, - "roughnessBlendLevel": 1, - "bumpLevel": 1, - "normalBlendMethod": 0, - "isEnabled": false, - "name": "DetailMap", - "priority": 140, - "resolveIncludes": false, - "registerForExtraEvents": false - } - } - } - ], - "geometries": { - "boxes": [], - "spheres": [], - "cylinders": [], - "toruses": [], - "grounds": [], - "planes": [], - "torusKnots": [], - "vertexData": [] - }, - "metadata": { - "type": "Box", - "width": 100, - "depth": 100, - "height": 100, - "sideOrientation": 0 - }, - "basePoseMatrix": [ - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1 - ] -} diff --git a/gameEditor/assets/example.scene/meshes/bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d.json b/gameEditor/assets/example.scene/meshes/bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d.json index 4e7ac65..2ebce08 100644 --- a/gameEditor/assets/example.scene/meshes/bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d.json +++ b/gameEditor/assets/example.scene/meshes/bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d.json @@ -16,9 +16,9 @@ 0 ], "scaling": [ - 100.00000000000159, - -100, - 100.00000000000159 + 1, + -1, + 1 ], "localMatrix": [ 1, diff --git a/gameEditor/assets/example.scene/meshes/c7b3d00d-20da-4560-8611-f3186ffda0f0.json b/gameEditor/assets/example.scene/meshes/c7b3d00d-20da-4560-8611-f3186ffda0f0.json index 10581ac..0906141 100644 --- a/gameEditor/assets/example.scene/meshes/c7b3d00d-20da-4560-8611-f3186ffda0f0.json +++ b/gameEditor/assets/example.scene/meshes/c7b3d00d-20da-4560-8611-f3186ffda0f0.json @@ -17,9 +17,9 @@ 0 ], "scaling": [ - 100, - 100, - -100 + 1, + 1, + -1 ], "localMatrix": [ 1, diff --git a/gameEditor/assets/example.scene/meshes/c8ccf36e-90e4-4cef-bd6c-f9856ae91783.json b/gameEditor/assets/example.scene/meshes/c8ccf36e-90e4-4cef-bd6c-f9856ae91783.json index ba99f0e..1b3f1b1 100644 --- a/gameEditor/assets/example.scene/meshes/c8ccf36e-90e4-4cef-bd6c-f9856ae91783.json +++ b/gameEditor/assets/example.scene/meshes/c8ccf36e-90e4-4cef-bd6c-f9856ae91783.json @@ -17,9 +17,9 @@ 0 ], "scaling": [ - 100, - 100, - -100 + 1, + 1, + -1 ], "localMatrix": [ 1, diff --git a/gameEditor/assets/example.scene/preview.png b/gameEditor/assets/example.scene/preview.png index c5fef86..0c28799 100644 Binary files a/gameEditor/assets/example.scene/preview.png and b/gameEditor/assets/example.scene/preview.png differ diff --git a/gameEditor/public/scene/example.babylon b/gameEditor/public/scene/example.babylon index 1115b94..b5f9d2a 100644 --- a/gameEditor/public/scene/example.babylon +++ b/gameEditor/public/scene/example.babylon @@ -1 +1 @@ -{"autoClear":true,"clearColor":[0.2,0.2,0.3,1],"ambientColor":[0,0,0],"gravity":[0,-9.807,0],"collisionsEnabled":true,"useRightHandedSystem":false,"fogMode":0,"fogColor":[0.640006735140596,0.640006735140596,0.640006735140596],"fogStart":10,"fogEnd":1000,"fogDensity":0.001,"physicsEnabled":true,"physicsGravity":[0,-981,0],"physicsEngine":"HavokPlugin","metadata":{"rendering":[],"physicsGravity":[0,-981,0],"scripts":[{"enabled":true,"key":"scripts/editorScripts/AsteroidComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,0]},"angularVelocity":{"type":"vector3","value":[0,0,0]},"mass":{"type":"number","value":1},"targetId":{"type":"string","description":"Reference to a TargetComponent node","value":""},"targetMode":{"type":"string","description":"orbit | moveToward | (empty)","value":""}},"_id":"fe3c8020-9375-4c58-a54f-852339e3f40f"}]},"morphTargetManagers":[],"lights":[],"cameras":[],"activeCameraID":"3cc9ef80-8c60-43e0-bcc4-1b55ff36010d","animations":[],"materials":[{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.059139788150787354,"metallicF0Factor":0,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0.800133466720581,0.69917231798172,0.16859057545661926],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0,0,0],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"436eb7a0-ac6c-472d-b6fe-0d986a8af5c7","name":"ShipWindow","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":0.1505376398563385,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":2,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012181,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"ambient":[0,0,0],"diffuse":[1,1,1],"specular":[1,1,1],"emissive":[0,0,0],"specularPower":64,"useAlphaFromDiffuseTexture":false,"useEmissiveAsIllumination":false,"linkEmissiveWithDiffuse":false,"useSpecularOverAlpha":false,"useReflectionOverAlpha":false,"disableLighting":false,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"roughness":0,"indexOfRefraction":0.98,"invertRefractionY":true,"alphaCutOff":0.4,"useLightmapAsShadowmap":false,"useReflectionFresnelFromSpecular":false,"useGlossinessFromSpecularMapAlpha":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":false,"applyDecalMapAfterDetailMap":false,"id":"default material","name":"default material","checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":true,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":46,"plugins":{"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}}},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","metadata":{"baseSize":{"width":512,"height":512}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":2,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","metadata":{"baseSize":{"width":512,"height":512}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":2,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.9999999403953552,0.9999999403953552,0.9999999403953552],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"4b8b6899-b62b-4c2c-aa9c-4102fac0c2fe","name":"Gauges","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012185,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":1,"metallicF0Factor":0,"metallicReflectanceColor":[0.23755916953086853,0.23755916953086853,0.23755916953086853],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.3999999761581421,0.3999999761581421,0.3999999761581421],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"81400b58-6fbe-4364-8c25-b5a03c536f05","name":"Material.001","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764789858424,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0,0,0],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0,0,0],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"a37af4ed-0bc4-4e4b-bee9-63cecf56c25c","name":"Screen","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012183,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1.8999998569488525,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","metadata":{"baseSize":{"width":4096,"height":4096}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":1,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","metadata":{"baseSize":{"width":4096,"height":4096}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":1,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0.5344085693359375,"roughness":0.4500977396965027,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[1,1,1],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"75fae723-6ee6-443b-ba23-704d76ebdb7b","name":"Hull","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012179,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1.399999976158142,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[1,1,1],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"00d2631a-e346-4509-b0bb-64e0467c0622","name":"Material.001","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764786749147,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0.0724073052406311,0.8001724481582642,0.08219180256128311],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.003482822866271551,0.09999999403953552,0.003765808193933462],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"5bc1e4e2-2fa5-4c81-a3de-93e55ae0919e","name":"Material","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":0.2634408473968506,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":2,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764786749149,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"ambient":[0,0,0],"diffuse":[1,1,1],"specular":[1,1,1],"emissive":[0,0,0],"specularPower":64,"useAlphaFromDiffuseTexture":false,"useEmissiveAsIllumination":false,"linkEmissiveWithDiffuse":false,"useSpecularOverAlpha":false,"useReflectionOverAlpha":false,"disableLighting":false,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"roughness":0,"indexOfRefraction":0.98,"invertRefractionY":true,"alphaCutOff":0.4,"useLightmapAsShadowmap":false,"useReflectionFresnelFromSpecular":false,"useGlossinessFromSpecularMapAlpha":false,"maxSimultaneousLights":4,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":false,"applyDecalMapAfterDetailMap":false,"id":"default material","name":"default material","checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":true,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":77,"plugins":{"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}}}],"multiMaterials":[],"environmentIntensity":1,"iblIntensity":1,"skeletons":[],"transformNodes":[{"tags":null,"position":[0,0.6388578414916992,0],"rotation":[0,0,0],"rotationQuaternion":[0,0,0,1],"scaling":[0.6154924631118774,0.678999662399292,0.7973729968070984],"billboardMode":0,"scalingDeterminant":1,"infiniteDistance":false,"ignoreNonUniformScaling":false,"reIntegrateRotationIntoRotationQuaternion":false,"name":"Ship","id":"315c338c-b9a0-4509-839c-8802b52dc0b3","state":"","metadata":{"parentId":1764787012172},"type":"TransformNode","uniqueId":1764787012177,"parentId":1764787012172,"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"animations":[],"ranges":[]}],"geometries":{"boxes":[],"spheres":[],"cylinders":[],"toruses":[],"grounds":[],"planes":[],"torusKnots":[],"vertexData":[]},"meshes":[{"name":"Ship_primitive1","id":"b633ecf7-2331-4ebd-b586-3852eff6c50f","uniqueId":1764787012174,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012180,"geometryId":"7a537688-5920-4808-9d7b-d63e83375f90","subMeshes":null,"materialUniqueId":1764787012181,"materialId":"436eb7a0-ac6c-472d-b6fe-0d986a8af5c7","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/7a537688-5920-4808-9d7b-d63e83375f90.babylonbinarymeshdata","boundingBoxMaximum":[1.5084391832351685,2.162097454071045,5.122784614562988],"boundingBoxMinimum":[-1.5084391832351685,-1.0288662910461426,-2.6966497898101807],"_binaryInfo":{"positionsAttrDesc":{"count":420,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":420,"stride":3,"offset":1680,"dataType":1},"uvsAttrDesc":{"count":280,"stride":2,"offset":3360,"dataType":1},"indicesAttrDesc":{"count":192,"stride":1,"offset":4480,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":5248,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"ship.glb","id":"bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d","uniqueId":1764787012172,"type":"Mesh","position":[0,2,0],"rotation":[0,3.1129212205596573,0],"scaling":[100.00000000000159,-100,100.00000000000159],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":77,"materialId":"default material","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/ShipComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,0]},"angularVelocity":{"type":"vector3","value":[0,0,0]}},"_id":"fa6b5e6d-29c3-4159-9248-cab250039a6e"}]},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"base.glb","id":"c7b3d00d-20da-4560-8611-f3186ffda0f0","uniqueId":1764786749143,"type":"Mesh","position":[0,0,0],"rotationQuaternion":[0,1,0,0],"scaling":[100,100,-100],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":46,"materialId":"default material","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/BaseComponent.ts","values":{"baseGlbPath":{"type":"string","description":"Path to base GLB model","value":""},"landingGlbPath":{"type":"string","description":"Path to landing zone GLB","value":""}},"_id":"7741fd66-a746-4f78-a7fd-5f8f404b610c"}]},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"Ship_primitive3","id":"037071c4-2096-4616-8e14-2e9cadab7ade","uniqueId":1764787012176,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012184,"geometryId":"ab02f83d-3a7a-4abd-8e08-7dab01ba5931","subMeshes":null,"materialUniqueId":1764787012185,"materialId":"4b8b6899-b62b-4c2c-aa9c-4102fac0c2fe","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/ab02f83d-3a7a-4abd-8e08-7dab01ba5931.babylonbinarymeshdata","boundingBoxMaximum":[-0.36345699429512024,0.7514887452125549,4.199827194213867],"boundingBoxMinimum":[-0.866409957408905,0.29206109046936035,4.168615341186523],"_binaryInfo":{"positionsAttrDesc":{"count":12,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":12,"stride":3,"offset":48,"dataType":1},"uvsAttrDesc":{"count":8,"stride":2,"offset":96,"dataType":1},"indicesAttrDesc":{"count":6,"stride":1,"offset":128,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":152,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"New Box","id":"1679685b-ca9c-4a1c-8161-9f6064cb1d7c","uniqueId":1764787809874,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"geometryUniqueId":1764787809875,"geometryId":"76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc","subMeshes":null,"materialUniqueId":46,"materialId":"default material","metadata":{"type":"Box","width":100,"depth":100,"height":100,"sideOrientation":0},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata","boundingBoxMaximum":[50,50,50],"boundingBoxMinimum":[-50,-50,-50],"_binaryInfo":{"positionsAttrDesc":{"count":72,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":72,"stride":3,"offset":288,"dataType":1},"uvsAttrDesc":{"count":48,"stride":2,"offset":576,"dataType":1},"indicesAttrDesc":{"count":36,"stride":1,"offset":768,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":912,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"asteroid.glb","id":"c8ccf36e-90e4-4cef-bd6c-f9856ae91783","uniqueId":1764789858421,"type":"Mesh","position":[0,0,0],"rotationQuaternion":[0,1,0,0],"scaling":[100,100,-100],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":46,"materialId":"default material","metadata":{},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"Asteroid","id":"790b6a71-5425-47f2-ae64-f2d04e2e3c6d","uniqueId":1764789858422,"type":"Mesh","position":[-33.08901451261646,40.81207511231127,-108.3875380136813],"rotationQuaternion":[0,0,0,1],"scaling":[5,5,5],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764789858421,"isUnIndexed":false,"geometryUniqueId":1764789858423,"geometryId":"9092e1b8-d64b-409a-9067-1f9373f47df3","subMeshes":null,"materialUniqueId":1764789858424,"materialId":"81400b58-6fbe-4364-8c25-b5a03c536f05","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/AsteroidComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,-30]},"angularVelocity":{"type":"vector3","value":[0,0,0]},"mass":{"type":"number","value":1},"targetId":{"type":"string","description":"Reference to a TargetComponent node","value":""},"targetMode":{"type":"string","description":"orbit | moveToward | (empty)","value":""}},"_id":"750ffa11-d797-43f4-a63b-0e1592a4f6af"}],"parentId":1764789858421},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/9092e1b8-d64b-409a-9067-1f9373f47df3.babylonbinarymeshdata","boundingBoxMaximum":[2.8008618354797363,2.679150342941284,2.679150104522705],"boundingBoxMinimum":[-2.054845094680786,-2.679150342941284,-2.679150104522705],"_binaryInfo":{"positionsAttrDesc":{"count":912,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":912,"stride":3,"offset":3648,"dataType":1},"uvsAttrDesc":{"count":608,"stride":2,"offset":7296,"dataType":1},"indicesAttrDesc":{"count":342,"stride":1,"offset":9728,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":11096,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Ship_primitive2","id":"cbee3b60-c52a-451e-8a43-ddeccb72c2e6","uniqueId":1764787012175,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012182,"geometryId":"4cda27fd-eed5-4d1a-b69a-a10585be394d","subMeshes":null,"materialUniqueId":1764787012183,"materialId":"a37af4ed-0bc4-4e4b-bee9-63cecf56c25c","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/4cda27fd-eed5-4d1a-b69a-a10585be394d.babylonbinarymeshdata","boundingBoxMaximum":[0.21567727625370026,0.7399396300315857,4.235613822937012],"boundingBoxMinimum":[-0.2839681804180145,0.23974217474460602,4.230499744415283],"_binaryInfo":{"positionsAttrDesc":{"count":12,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":12,"stride":3,"offset":48,"dataType":1},"uvsAttrDesc":{"count":8,"stride":2,"offset":96,"dataType":1},"indicesAttrDesc":{"count":6,"stride":1,"offset":128,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":152,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Ship_primitive0","id":"e76fcb83-e1df-4c7c-92cd-65b601ee9bba","uniqueId":1764787012173,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012178,"geometryId":"5a938545-3b1e-40a5-9ed3-a545ced11fd4","subMeshes":null,"materialUniqueId":1764787012179,"materialId":"75fae723-6ee6-443b-ba23-704d76ebdb7b","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/5a938545-3b1e-40a5-9ed3-a545ced11fd4.babylonbinarymeshdata","boundingBoxMaximum":[11.43801212310791,2.162097454071045,8.191577911376953],"boundingBoxMinimum":[-11.43801212310791,-1.028866171836853,-7.255166530609131],"_binaryInfo":{"positionsAttrDesc":{"count":2790,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":2790,"stride":3,"offset":11160,"dataType":1},"uvsAttrDesc":{"count":1860,"stride":2,"offset":22320,"dataType":1},"indicesAttrDesc":{"count":1284,"stride":1,"offset":29760,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":34896,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Base","id":"df3bdc41-8314-45f8-9add-ccfd1d06451f","uniqueId":1764786749144,"type":"Mesh","position":[0,-8.583544731140137,0],"rotationQuaternion":[0,0,0,1],"scaling":[33.146690368652344,1,37.254390716552734],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764786749143,"isUnIndexed":false,"geometryUniqueId":1764786749146,"geometryId":"101bd857-f8e8-4230-a021-5d519fefb26c","subMeshes":null,"materialUniqueId":1764786749147,"materialId":"00d2631a-e346-4509-b0bb-64e0467c0622","metadata":{"parentId":1764786749143},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/101bd857-f8e8-4230-a021-5d519fefb26c.babylonbinarymeshdata","boundingBoxMaximum":[1,0.7045964002609253,1],"boundingBoxMinimum":[-1,-2.1139473915100098,-1],"_binaryInfo":{"positionsAttrDesc":{"count":264,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":264,"stride":3,"offset":1056,"dataType":1},"uvsAttrDesc":{"count":176,"stride":2,"offset":2112,"dataType":1},"indicesAttrDesc":{"count":132,"stride":1,"offset":2816,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":3344,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"BaseLandingZone","id":"2a185a78-d743-4a8f-b9a8-cf95f60f0ae0","uniqueId":1764786749145,"type":"Mesh","position":[0,6.372689247131348,0],"rotationQuaternion":[0,0,0,1],"scaling":[28.34206199645996,28.34206199645996,28.34206199645996],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764786749143,"isUnIndexed":false,"geometryUniqueId":1764786749148,"geometryId":"0d955d0c-93e1-4875-884d-db636576f51e","subMeshes":null,"materialUniqueId":1764786749149,"materialId":"5bc1e4e2-2fa5-4c81-a3de-93e55ae0919e","metadata":{"parentId":1764786749143},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/0d955d0c-93e1-4875-884d-db636576f51e.babylonbinarymeshdata","boundingBoxMaximum":[0.9807851314544678,0.3284308910369873,0.9807849526405334],"boundingBoxMinimum":[-0.9807848334312439,-0.4938357472419739,-0.9807852506637573],"_binaryInfo":{"positionsAttrDesc":{"count":2688,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":2688,"stride":3,"offset":10752,"dataType":1},"uvsAttrDesc":{"count":1792,"stride":2,"offset":21504,"dataType":1},"indicesAttrDesc":{"count":1338,"stride":1,"offset":28672,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":34024,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null}],"particleSystems":[],"sounds":[]} +{"autoClear":true,"clearColor":[0.2,0.2,0.3,1],"ambientColor":[0,0,0],"gravity":[0,-9.807,0],"collisionsEnabled":true,"useRightHandedSystem":false,"fogMode":0,"fogColor":[0.640006735140596,0.640006735140596,0.640006735140596],"fogStart":10,"fogEnd":1000,"fogDensity":0.001,"physicsEnabled":true,"physicsGravity":[0,-981,0],"physicsEngine":"HavokPlugin","metadata":{"rendering":[],"physicsGravity":[0,-981,0],"scripts":[{"enabled":true,"key":"scripts/editorScripts/AsteroidComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,0]},"angularVelocity":{"type":"vector3","value":[0,0,0]},"mass":{"type":"number","value":1},"targetId":{"type":"string","description":"Reference to a TargetComponent node","value":""},"targetMode":{"type":"string","description":"orbit | moveToward | (empty)","value":""}},"_id":"fe3c8020-9375-4c58-a54f-852339e3f40f"}]},"morphTargetManagers":[],"lights":[],"cameras":[],"activeCameraID":"3cc9ef80-8c60-43e0-bcc4-1b55ff36010d","animations":[],"materials":[{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0.0724073052406311,0.8001724481582642,0.08219180256128311],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.003482822866271551,0.09999999403953552,0.003765808193933462],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"5bc1e4e2-2fa5-4c81-a3de-93e55ae0919e","name":"Material","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":0.2634408473968506,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":2,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764786749149,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","metadata":{"baseSize":{"width":512,"height":512}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":2,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_7dc5359ed77982dcccfa2ae9f8d1c491.jpg","metadata":{"baseSize":{"width":512,"height":512}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":2,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.9999999403953552,0.9999999403953552,0.9999999403953552],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"4b8b6899-b62b-4c2c-aa9c-4102fac0c2fe","name":"Gauges","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012185,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.059139788150787354,"metallicF0Factor":0,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0.800133466720581,0.69917231798172,0.16859057545661926],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0,0,0],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"436eb7a0-ac6c-472d-b6fe-0d986a8af5c7","name":"ShipWindow","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":0.1505376398563385,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":2,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012181,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_aed030862c8a5064c80262817ba13a70.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":1,"metallicF0Factor":0,"metallicReflectanceColor":[0.23755916953086853,0.23755916953086853,0.23755916953086853],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0.3999999761581421,0.3999999761581421,0.3999999761581421],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"81400b58-6fbe-4364-8c25-b5a03c536f05","name":"Material.001","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764789858424,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"ambient":[0,0,0],"diffuse":[1,1,1],"specular":[1,1,1],"emissive":[0,0,0],"specularPower":64,"useAlphaFromDiffuseTexture":false,"useEmissiveAsIllumination":false,"linkEmissiveWithDiffuse":false,"useSpecularOverAlpha":false,"useReflectionOverAlpha":false,"disableLighting":false,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"roughness":0,"indexOfRefraction":0.98,"invertRefractionY":true,"alphaCutOff":0.4,"useLightmapAsShadowmap":false,"useReflectionFresnelFromSpecular":false,"useGlossinessFromSpecularMapAlpha":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":false,"applyDecalMapAfterDetailMap":false,"id":"default material","name":"default material","checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":true,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":46,"plugins":{"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}}},{"tags":null,"directIntensity":1,"emissiveIntensity":1,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[0,0,0],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[0,0,0],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"a37af4ed-0bc4-4e4b-bee9-63cecf56c25c","name":"Screen","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012183,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1.8999998569488525,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","metadata":{"baseSize":{"width":4096,"height":4096}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":1,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_407fefb1bb1a53ce6f7be55ea1b07228.jpg","metadata":{"baseSize":{"width":4096,"height":4096}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":1,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0.5344085693359375,"roughness":0.4500977396965027,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[1,1,1],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"75fae723-6ee6-443b-ba23-704d76ebdb7b","name":"Hull","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764787012179,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"directIntensity":1,"emissiveIntensity":1.399999976158142,"environmentIntensity":1,"specularIntensity":1,"disableBumpMap":false,"albedoTexture":{"tags":null,"url":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"ambientTextureStrength":1,"ambientTextureImpactOnAnalyticalLights":0,"emissiveTexture":{"tags":null,"url":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","uOffset":0,"vOffset":0,"uScale":1,"vScale":-1,"uAng":0,"vAng":0,"wAng":0,"uRotationCenter":0.5,"vRotationCenter":0.5,"wRotationCenter":0.5,"homogeneousRotationInUVTransform":false,"isBlocking":true,"name":"assets/editor-generated_9f6c774a10727dd45e1e2122a14a3957.jpg","metadata":{"baseSize":{"width":2048,"height":2048}},"hasAlpha":false,"getAlphaFromRGB":false,"level":1,"coordinatesIndex":0,"optimizeUVAllocation":true,"coordinatesMode":0,"wrapU":1,"wrapV":1,"wrapR":1,"anisotropicFilteringLevel":4,"isCube":false,"is3D":false,"is2DArray":false,"gammaSpace":false,"invertZ":false,"lodLevelInAlpha":false,"lodGenerationOffset":0,"lodGenerationScale":0,"linearSpecularLOD":false,"isRenderTarget":false,"animations":[],"invertY":true,"samplingMode":3,"_useSRGBBuffer":false,"internalTextureLabel":"/Users/michaelmainguy/WebstormProjects/space-game/gameEditor","noMipmap":false},"metallic":0,"roughness":0.5,"metallicF0Factor":1,"metallicReflectanceColor":[1,1,1],"useOnlyMetallicFromMetallicReflectanceTexture":false,"ambient":[0,0,0],"albedo":[1,1,1],"baseWeight":1,"reflectivity":[1,1,1],"reflection":[1,1,1],"emissive":[1,1,1],"microSurface":1,"useLightmapAsShadowmap":false,"useAlphaFromAlbedoTexture":false,"forceAlphaTest":false,"alphaCutOff":0.4,"useSpecularOverAlpha":true,"useMicroSurfaceFromReflectivityMapAlpha":false,"useRoughnessFromMetallicTextureAlpha":true,"useRoughnessFromMetallicTextureGreen":false,"useMetallnessFromMetallicTextureBlue":false,"useAmbientOcclusionFromMetallicTextureRed":false,"useAmbientInGrayScale":false,"useAutoMicroSurfaceFromReflectivityMap":false,"usePhysicalLightFalloff":true,"useGLTFLightFalloff":false,"useRadianceOverAlpha":true,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"disableLighting":false,"forceIrradianceInFragment":false,"maxSimultaneousLights":32,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":true,"useAlphaFresnel":false,"useLinearAlphaFresnel":false,"forceNormalForward":false,"enableSpecularAntiAliasing":true,"useHorizonOcclusion":true,"useRadianceOcclusion":true,"unlit":false,"applyDecalMapAfterDetailMap":false,"id":"00d2631a-e346-4509-b0bb-64e0467c0622","name":"Material.001","metadata":{},"checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":false,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"transparencyMode":0,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":1764786749147,"plugins":{"PBRBRDFConfiguration":{"tags":null,"useEnergyConservation":true,"useSmithVisibilityHeightCorrelated":true,"useSphericalHarmonics":true,"useSpecularGlossinessInputEnergyConservation":true,"mixIblRadianceWithIrradiance":true,"useLegacySpecularEnergyConservation":true,"baseDiffuseModel":0,"dielectricSpecularModel":0,"conductorSpecularModel":0,"name":"PBRBRDF","priority":90,"resolveIncludes":false,"registerForExtraEvents":false},"PBRClearCoatConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"roughness":0,"indexOfRefraction":1.5,"useRoughnessFromMainTexture":true,"remapF0OnInterfaceChange":true,"isTintEnabled":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"tintThickness":1,"name":"PBRClearCoat","priority":100,"resolveIncludes":false,"registerForExtraEvents":false},"PBRIridescenceConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"minimumThickness":100,"maximumThickness":400,"indexOfRefraction":1.3,"name":"PBRIridescence","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRAnisotropicConfiguration":{"tags":null,"isEnabled":false,"intensity":1,"direction":[1,0],"legacy":false,"name":"PBRAnisotropic","priority":110,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSheenConfiguration":{"tags":null,"isEnabled":false,"linkSheenWithAlbedo":false,"intensity":1,"color":[1,1,1],"useRoughnessFromMainTexture":true,"albedoScaling":false,"name":"Sheen","priority":120,"resolveIncludes":false,"registerForExtraEvents":false},"PBRSubSurfaceConfiguration":{"tags":null,"isRefractionEnabled":false,"isTranslucencyEnabled":false,"isDispersionEnabled":false,"isScatteringEnabled":false,"_scatteringDiffusionProfileIndex":0,"refractionIntensity":1,"translucencyIntensity":1,"useAlbedoToTintRefraction":false,"useAlbedoToTintTranslucency":false,"indexOfRefraction":1.5,"_volumeIndexOfRefraction":-1,"invertRefractionY":false,"linkRefractionWithTransparency":false,"minimumThickness":0,"maximumThickness":1,"useThicknessAsDepth":false,"tintColor":[1,1,1],"tintColorAtDistance":1,"dispersion":0,"diffusionDistance":[1,1,1],"useMaskFromThicknessTexture":false,"useGltfStyleTextures":true,"applyAlbedoAfterSubSurface":false,"legacyTranslucency":false,"name":"PBRSubSurface","priority":130,"resolveIncludes":false,"registerForExtraEvents":true},"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}},"customType":"BABYLON.PBRMaterial"},{"tags":null,"ambient":[0,0,0],"diffuse":[1,1,1],"specular":[1,1,1],"emissive":[0,0,0],"specularPower":64,"useAlphaFromDiffuseTexture":false,"useEmissiveAsIllumination":false,"linkEmissiveWithDiffuse":false,"useSpecularOverAlpha":false,"useReflectionOverAlpha":false,"disableLighting":false,"useObjectSpaceNormalMap":false,"useParallax":false,"useParallaxOcclusion":false,"parallaxScaleBias":0.05,"roughness":0,"indexOfRefraction":0.98,"invertRefractionY":true,"alphaCutOff":0.4,"useLightmapAsShadowmap":false,"useReflectionFresnelFromSpecular":false,"useGlossinessFromSpecularMapAlpha":false,"maxSimultaneousLights":4,"invertNormalMapX":false,"invertNormalMapY":false,"twoSidedLighting":false,"applyDecalMapAfterDetailMap":false,"id":"default material","name":"default material","checkReadyOnEveryCall":false,"checkReadyOnlyOnce":false,"state":"","alpha":1,"backFaceCulling":true,"cullBackFaces":true,"_alphaMode":[2],"_needDepthPrePass":false,"disableDepthWrite":false,"disableColorWrite":false,"forceDepthWrite":false,"depthFunction":0,"separateCullingPass":false,"fogEnabled":true,"pointSize":1,"zOffset":0,"zOffsetUnits":0,"pointsCloud":false,"fillMode":0,"_isVertexOutputInvariant":false,"stencil":{"tags":null,"func":519,"backFunc":519,"funcRef":1,"funcMask":255,"opStencilFail":7680,"opDepthFail":7680,"opStencilDepthPass":7681,"backOpStencilFail":7680,"backOpDepthFail":7680,"backOpStencilDepthPass":7681,"mask":255,"enabled":false},"uniqueId":154,"plugins":{"DetailMapConfiguration":{"tags":null,"diffuseBlendLevel":1,"roughnessBlendLevel":1,"bumpLevel":1,"normalBlendMethod":0,"isEnabled":false,"name":"DetailMap","priority":140,"resolveIncludes":false,"registerForExtraEvents":false}}}],"multiMaterials":[],"environmentIntensity":1,"iblIntensity":1,"skeletons":[],"transformNodes":[{"tags":null,"position":[0,0.6388578414916992,0],"rotation":[0,0,0],"rotationQuaternion":[0,0,0,1],"scaling":[0.6154924631118774,0.678999662399292,0.7973729968070984],"billboardMode":0,"scalingDeterminant":1,"infiniteDistance":false,"ignoreNonUniformScaling":false,"reIntegrateRotationIntoRotationQuaternion":false,"name":"Ship","id":"315c338c-b9a0-4509-839c-8802b52dc0b3","state":"","metadata":{"parentId":1764787012172},"type":"TransformNode","uniqueId":1764787012177,"parentId":1764787012172,"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"animations":[],"ranges":[]}],"geometries":{"boxes":[],"spheres":[],"cylinders":[],"toruses":[],"grounds":[],"planes":[],"torusKnots":[],"vertexData":[{"id":"76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc","uniqueId":1764787809875,"updatable":false,"positions":[5,-5,5,-5,-5,5,-5,5,5,5,5,5,5,5,-5,-5,5,-5,-5,-5,-5,5,-5,-5,5,5,-5,5,-5,-5,5,-5,5,5,5,5,-5,5,5,-5,-5,5,-5,-5,-5,-5,5,-5,-5,5,5,-5,5,-5,5,5,-5,5,5,5,5,-5,5,5,-5,-5,-5,-5,-5,-5,-5,5],"normals":[0,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0],"uvs":[1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0],"indices":[0,1,2,0,2,3,4,5,6,4,6,7,8,9,10,8,10,11,12,13,14,12,14,15,16,17,18,16,18,19,20,21,22,20,22,23]}]},"meshes":[{"name":"BaseLandingZone","id":"2a185a78-d743-4a8f-b9a8-cf95f60f0ae0","uniqueId":1764786749145,"type":"Mesh","position":[0,6.372689247131348,0],"rotationQuaternion":[0,0,0,1],"scaling":[28.34206199645996,28.34206199645996,28.34206199645996],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764786749143,"isUnIndexed":false,"geometryUniqueId":1764786749148,"geometryId":"0d955d0c-93e1-4875-884d-db636576f51e","subMeshes":null,"materialUniqueId":1764786749149,"materialId":"5bc1e4e2-2fa5-4c81-a3de-93e55ae0919e","metadata":{"parentId":1764786749143},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/0d955d0c-93e1-4875-884d-db636576f51e.babylonbinarymeshdata","boundingBoxMaximum":[0.9807851314544678,0.3284308910369873,0.9807849526405334],"boundingBoxMinimum":[-0.9807848334312439,-0.4938357472419739,-0.9807852506637573],"_binaryInfo":{"positionsAttrDesc":{"count":2688,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":2688,"stride":3,"offset":10752,"dataType":1},"uvsAttrDesc":{"count":1792,"stride":2,"offset":21504,"dataType":1},"indicesAttrDesc":{"count":1338,"stride":1,"offset":28672,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":34024,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Ship_primitive3","id":"037071c4-2096-4616-8e14-2e9cadab7ade","uniqueId":1764787012176,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012184,"geometryId":"ab02f83d-3a7a-4abd-8e08-7dab01ba5931","subMeshes":null,"materialUniqueId":1764787012185,"materialId":"4b8b6899-b62b-4c2c-aa9c-4102fac0c2fe","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/ab02f83d-3a7a-4abd-8e08-7dab01ba5931.babylonbinarymeshdata","boundingBoxMaximum":[-0.36345699429512024,0.7514887452125549,4.199827194213867],"boundingBoxMinimum":[-0.866409957408905,0.29206109046936035,4.168615341186523],"_binaryInfo":{"positionsAttrDesc":{"count":12,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":12,"stride":3,"offset":48,"dataType":1},"uvsAttrDesc":{"count":8,"stride":2,"offset":96,"dataType":1},"indicesAttrDesc":{"count":6,"stride":1,"offset":128,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":152,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Ship_primitive1","id":"b633ecf7-2331-4ebd-b586-3852eff6c50f","uniqueId":1764787012174,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012180,"geometryId":"7a537688-5920-4808-9d7b-d63e83375f90","subMeshes":null,"materialUniqueId":1764787012181,"materialId":"436eb7a0-ac6c-472d-b6fe-0d986a8af5c7","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/7a537688-5920-4808-9d7b-d63e83375f90.babylonbinarymeshdata","boundingBoxMaximum":[1.5084391832351685,2.162097454071045,5.122784614562988],"boundingBoxMinimum":[-1.5084391832351685,-1.0288662910461426,-2.6966497898101807],"_binaryInfo":{"positionsAttrDesc":{"count":420,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":420,"stride":3,"offset":1680,"dataType":1},"uvsAttrDesc":{"count":280,"stride":2,"offset":3360,"dataType":1},"indicesAttrDesc":{"count":192,"stride":1,"offset":4480,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":5248,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"ship.glb","id":"bf9cd6cd-3743-4b89-9c33-e7b12cc3eb3d","uniqueId":1764787012172,"type":"Mesh","position":[0,2,0],"rotation":[0,3.1129212205596573,0],"scaling":[1,-1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":154,"materialId":"default material","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/ShipComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,0]},"angularVelocity":{"type":"vector3","value":[0,0,0]}},"_id":"fa6b5e6d-29c3-4159-9248-cab250039a6e"}]},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"asteroid.glb","id":"c8ccf36e-90e4-4cef-bd6c-f9856ae91783","uniqueId":1764789858421,"type":"Mesh","position":[0,0,0],"rotationQuaternion":[0,1,0,0],"scaling":[1,1,-1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":46,"materialId":"default material","metadata":{},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"base.glb","id":"c7b3d00d-20da-4560-8611-f3186ffda0f0","uniqueId":1764786749143,"type":"Mesh","position":[0,0,0],"rotationQuaternion":[0,1,0,0],"scaling":[1,1,-1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":1,"isUnIndexed":false,"materialUniqueId":46,"materialId":"default material","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/BaseComponent.ts","values":{"baseGlbPath":{"type":"string","description":"Path to base GLB model","value":""},"landingGlbPath":{"type":"string","description":"Path to landing zone GLB","value":""}},"_id":"7741fd66-a746-4f78-a7fd-5f8f404b610c"}]},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true},{"name":"Ship_primitive2","id":"cbee3b60-c52a-451e-8a43-ddeccb72c2e6","uniqueId":1764787012175,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012182,"geometryId":"4cda27fd-eed5-4d1a-b69a-a10585be394d","subMeshes":null,"materialUniqueId":1764787012183,"materialId":"a37af4ed-0bc4-4e4b-bee9-63cecf56c25c","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/4cda27fd-eed5-4d1a-b69a-a10585be394d.babylonbinarymeshdata","boundingBoxMaximum":[0.21567727625370026,0.7399396300315857,4.235613822937012],"boundingBoxMinimum":[-0.2839681804180145,0.23974217474460602,4.230499744415283],"_binaryInfo":{"positionsAttrDesc":{"count":12,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":12,"stride":3,"offset":48,"dataType":1},"uvsAttrDesc":{"count":8,"stride":2,"offset":96,"dataType":1},"indicesAttrDesc":{"count":6,"stride":1,"offset":128,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":152,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Ship_primitive0","id":"e76fcb83-e1df-4c7c-92cd-65b601ee9bba","uniqueId":1764787012173,"type":"Mesh","position":[0,0,0],"rotation":[0,0,0],"scaling":[1,1,1],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764787012177,"isUnIndexed":false,"geometryUniqueId":1764787012178,"geometryId":"5a938545-3b1e-40a5-9ed3-a545ced11fd4","subMeshes":null,"materialUniqueId":1764787012179,"materialId":"75fae723-6ee6-443b-ba23-704d76ebdb7b","metadata":{"parentId":1764787012177},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":1,"overlayColor":[0,0,0],"applyFog":true,"delayLoadingFile":"example/5a938545-3b1e-40a5-9ed3-a545ced11fd4.babylonbinarymeshdata","boundingBoxMaximum":[11.43801212310791,2.162097454071045,8.191577911376953],"boundingBoxMinimum":[-11.43801212310791,-1.028866171836853,-7.255166530609131],"_binaryInfo":{"positionsAttrDesc":{"count":2790,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":2790,"stride":3,"offset":11160,"dataType":1},"uvsAttrDesc":{"count":1860,"stride":2,"offset":22320,"dataType":1},"indicesAttrDesc":{"count":1284,"stride":1,"offset":29760,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":34896,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Base","id":"df3bdc41-8314-45f8-9add-ccfd1d06451f","uniqueId":1764786749144,"type":"Mesh","position":[0,-8.583544731140137,0],"rotationQuaternion":[0,0,0,1],"scaling":[33.146690368652344,1,37.254390716552734],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764786749143,"isUnIndexed":false,"geometryUniqueId":1764786749146,"geometryId":"101bd857-f8e8-4230-a021-5d519fefb26c","subMeshes":null,"materialUniqueId":1764786749147,"materialId":"00d2631a-e346-4509-b0bb-64e0467c0622","metadata":{"parentId":1764786749143},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/101bd857-f8e8-4230-a021-5d519fefb26c.babylonbinarymeshdata","boundingBoxMaximum":[1,0.7045964002609253,1],"boundingBoxMinimum":[-1,-2.1139473915100098,-1],"_binaryInfo":{"positionsAttrDesc":{"count":264,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":264,"stride":3,"offset":1056,"dataType":1},"uvsAttrDesc":{"count":176,"stride":2,"offset":2112,"dataType":1},"indicesAttrDesc":{"count":132,"stride":1,"offset":2816,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":3344,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null},{"name":"Asteroid","id":"790b6a71-5425-47f2-ae64-f2d04e2e3c6d","uniqueId":1764789858422,"type":"Mesh","position":[-33.08901451261646,40.81207511231127,-108.3875380136813],"rotationQuaternion":[0,0,0,1],"scaling":[5,5,5],"localMatrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"isEnabled":true,"isVisible":true,"infiniteDistance":false,"pickable":true,"receiveShadows":true,"billboardMode":0,"visibility":1,"alwaysSelectAsActiveMesh":false,"checkCollisions":false,"ellipsoid":[0.5,1,0.5],"ellipsoidOffset":[0,0,0],"doNotSyncBoundingInfo":false,"isBlocker":false,"sideOrientation":0,"parentId":1764789858421,"isUnIndexed":false,"geometryUniqueId":1764789858423,"geometryId":"9092e1b8-d64b-409a-9067-1f9373f47df3","subMeshes":null,"materialUniqueId":1764789858424,"materialId":"81400b58-6fbe-4364-8c25-b5a03c536f05","metadata":{"scripts":[{"enabled":true,"key":"scripts/editorScripts/AsteroidComponent.ts","values":{"linearVelocity":{"type":"vector3","value":[0,0,-30]},"angularVelocity":{"type":"vector3","value":[0,0,0]},"mass":{"type":"number","value":1},"targetId":{"type":"string","description":"Reference to a TargetComponent node","value":""},"targetMode":{"type":"string","description":"orbit | moveToward | (empty)","value":""}},"_id":"750ffa11-d797-43f4-a63b-0e1592a4f6af"}],"parentId":1764789858421},"instances":[],"animations":[],"ranges":[],"layerMask":268435455,"alphaIndex":1.7976931348623157e+308,"hasVertexAlpha":false,"overlayAlpha":0,"overlayColor":[0,0,0],"renderOverlay":false,"applyFog":true,"delayLoadingFile":"example/9092e1b8-d64b-409a-9067-1f9373f47df3.babylonbinarymeshdata","boundingBoxMaximum":[2.8008618354797363,2.679150342941284,2.679150104522705],"boundingBoxMinimum":[-2.054845094680786,-2.679150342941284,-2.679150104522705],"_binaryInfo":{"positionsAttrDesc":{"count":912,"stride":3,"offset":0,"dataType":1},"normalsAttrDesc":{"count":912,"stride":3,"offset":3648,"dataType":1},"uvsAttrDesc":{"count":608,"stride":2,"offset":7296,"dataType":1},"indicesAttrDesc":{"count":342,"stride":1,"offset":9728,"dataType":0},"subMeshesAttrDesc":{"count":1,"stride":5,"offset":11096,"dataType":0}},"positions":null,"normals":null,"uvs":null,"hasUVs":true,"indices":null}],"particleSystems":[],"sounds":[]} diff --git a/gameEditor/public/scene/example/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata b/gameEditor/public/scene/example/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata deleted file mode 100644 index 32a7d04..0000000 Binary files a/gameEditor/public/scene/example/76c7442d-fb7e-4a05-b1c5-9c27b0beb0dc.babylonbinarymeshdata and /dev/null differ diff --git a/gameEditor/src/scripts.ts b/gameEditor/src/scripts.ts index 1314f5d..718ef90 100644 --- a/gameEditor/src/scripts.ts +++ b/gameEditor/src/scripts.ts @@ -5,13 +5,13 @@ import { loadScene, scriptsDictionary, scriptAssetsCache, _applyScriptsForObject, _removeRegisteredScriptInstance, _preloadScriptsAssets } from "babylonjs-editor-tools"; import * as scripts_editorScripts_AsteroidComponent from "./scripts/editorScripts/AsteroidComponent"; -import * as scripts_editorScripts_BaseComponent from "./scripts/editorScripts/BaseComponent"; import * as scripts_editorScripts_ShipComponent from "./scripts/editorScripts/ShipComponent"; +import * as scripts_editorScripts_BaseComponent from "./scripts/editorScripts/BaseComponent"; export const scriptsMap = { "scripts/editorScripts/AsteroidComponent.ts": scripts_editorScripts_AsteroidComponent, - "scripts/editorScripts/BaseComponent.ts": scripts_editorScripts_BaseComponent, - "scripts/editorScripts/ShipComponent.ts": scripts_editorScripts_ShipComponent + "scripts/editorScripts/ShipComponent.ts": scripts_editorScripts_ShipComponent, + "scripts/editorScripts/BaseComponent.ts": scripts_editorScripts_BaseComponent }; export { loadScene, scriptsDictionary, scriptAssetsCache, _applyScriptsForObject, _removeRegisteredScriptInstance, _preloadScriptsAssets }; diff --git a/public/assets/themes/default/audio/background.mp3 b/public/assets/themes/default/audio/background.mp3 deleted file mode 100644 index 01078ca..0000000 Binary files a/public/assets/themes/default/audio/background.mp3 and /dev/null differ diff --git a/public/assets/themes/default/audio/song1.mp3 b/public/assets/themes/default/audio/song1.mp3 index 05b3529..9c4db28 100644 Binary files a/public/assets/themes/default/audio/song1.mp3 and b/public/assets/themes/default/audio/song1.mp3 differ diff --git a/public/assets/themes/default/audio/song2.mp3 b/public/assets/themes/default/audio/song2.mp3 new file mode 100644 index 0000000..f662d86 Binary files /dev/null and b/public/assets/themes/default/audio/song2.mp3 differ diff --git a/public/assets/themes/default/audio/song3.mp3 b/public/assets/themes/default/audio/song3.mp3 new file mode 100644 index 0000000..995b9a6 Binary files /dev/null and b/public/assets/themes/default/audio/song3.mp3 differ diff --git a/public/assets/themes/default/models/base3.glb b/public/assets/themes/default/models/base3.glb new file mode 100644 index 0000000..a592b85 Binary files /dev/null and b/public/assets/themes/default/models/base3.glb differ diff --git a/public/assets/themes/default/models/ship.glb b/public/assets/themes/default/models/ship.glb index be212a5..0735953 100644 Binary files a/public/assets/themes/default/models/ship.glb and b/public/assets/themes/default/models/ship.glb differ diff --git a/public/levels/asteroid-mania.json b/public/levels/asteroid-mania.json index 3f349fb..b82d92c 100644 --- a/public/levels/asteroid-mania.json +++ b/public/levels/asteroid-mania.json @@ -9,273 +9,270 @@ "type": "default" }, "ship": { - "position": [ - 0, - 1, - 0 - ], - "rotation": [ - 0, - 0, - 0 - ], - "linearVelocity": [ - 0, - 0, - 0 - ], - "angularVelocity": [ - 0, - 0, - 0 - ] + "position": [0, 1, 0], + "rotation": [0, 0, 0] }, "startBase": { - "position": [ - 0, - 0, - 0 - ], + "position": [0, 0, 0], "baseGlbPath": "base.glb" }, "sun": { - "position": [ - 0, - 0, - 400 - ], - "diameter": 50, - "intensity": 1000000 + "position": [0, 0, 400], + "diameter": 50 }, "planets": [], + "targets": [ + { + "id": "ORBIT", + "name": "ORBIT", + "position": [0, 0, 0] + }, + { + "id": "LINEAR", + "name": "LINEAR", + "position": [0, 0, 0] + } + ], "asteroids": [ { "id": "asteroid-0", - "position": [ - 242.60734209985543, - -114.56996058926651, - 5.575229357062 - ], + "mass": 40, "scale": 2, - "linearVelocity": [ - -170.167175139332553, - 80.177863609194048, - -0.39450965492725215 - ], - "angularVelocity": [ - -0.834980024785148, - 0.9648009938830251, - 0.8185653748494373 - ] + "position": [75, 85, -65], + "linearVelocity": [-20, 15, 25], + "angularVelocity": [-0.8, 0.9, 0.8], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-1", - "position": [ - 145.90971366777896, - 42.273817290099984, - -244.80503221456152 - ], + "mass": 120, "scale": 6, - "linearVelocity": [ - -14.737555578618144, - -42.168846343154079, - 240.72643991613985 - ], - "angularVelocity": [ - 0.575649251710729, - -2.8551046445434349, - -0.9477761112717422 - ] + "position": [-120, 110, -100], + "linearVelocity": [18, -12, 22], + "angularVelocity": [0.5, -2.8, -0.9], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-2", - "position": [ - 195.05992969157123, - -311.0584087077698, - -22.40662780090249 - ], + "mass": 80, "scale": 4, - "linearVelocity": [ - -160.81570103491442, - 9.660316715266058, - 160.9316276535952197 - ], - "angularVelocity": [ - 0.8587973467645904, - 0.25620436829463733, - -0.7705721105608303 - ] + "position": [160, -140, 100], + "linearVelocity": [-25, 20, -15], + "angularVelocity": [0.8, 0.2, -0.7], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-3", - "position": [ - -0.9357515100775112, - 85.76554222686204, - 249.4670613777975 - ], + "mass": 347, "scale": 17.34408913479813, - "linearVelocity": [ - 0.07109432360434195, - -6.440116659897093, - -18.953420645560346 - ], - "angularVelocity": [ - 0.19650221972006143, - 0.4226089665809898, - -0.9419176203015098 - ] + "position": [-180, 200, -160], + "linearVelocity": [12, -8, 15], + "angularVelocity": [0.1, 0.4, -0.9], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-4", - "position": [ - -254.14456477364413, - 54.65967750105119, - 82.65652287437858 - ], + "mass": 80, "scale": 4, - "linearVelocity": [ - 22.372081486064396, - -400.723605553550473, - -7.2761676675924445 - ], - "angularVelocity": [ - -0.22039903827783025, - 0.03062354927084643, - 0.3628209366655213 - ] + "position": [90, -80, 85], + "linearVelocity": [-22, 18, -20], + "angularVelocity": [-0.2, 0.03, 0.3], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-5", - "position": [ - -257.7249224576784, - -112.97325792551102, - -92.25372143357285 - ], + "mass": 240, "scale": 12, - "linearVelocity": [ - 17.764361846647077, - 7.855903788127005, - 6.358828139777149 - ], - "angularVelocity": [ - -0.27982741337355455, - 0.2465507084870353, - -0.8489416083688623 - ] + "position": [-200, 140, -120], + "linearVelocity": [15, -10, 18], + "angularVelocity": [-0.2, 0.2, -0.8], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-6", - "position": [ - -61.74000302102928, - 103.75532261403117, - -224.6843746923246 - ], + "mass": 289, "scale": 14.438006716048399, - "linearVelocity": [ - 4.573571795825104, - -7.611901885044768, - 16.644154013167135 - ], - "angularVelocity": [ - -0.41949593751738457, - -0.5881266007071146, - 0.2671577602439994 - ] + "position": [220, -230, 150], + "linearVelocity": [-10, 8, -12], + "angularVelocity": [-0.4, -0.5, 0.2], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-7", - "position": [ - 16.846663100767792, - 72.36836836065181, - -271.36235273889974 - ], + "mass": 200, "scale": 10, - "linearVelocity": [ - 220.2776861733199087, - -345.412726361379603, - -20.580688530433683 - ], - "angularVelocity": [ - -0.5793176374486806, - 0.8207961833131412, - -0.034658037798875885 - ] + "position": [-100, 120, -85], + "linearVelocity": [20, -15, 18], + "angularVelocity": [-0.5, 0.8, -0.03], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-8", - "position": [ - 129.11110725214024, - 91.10691458736655, - 205.0668479159754 - ], + "mass": 200, "scale": 10, - "linearVelocity": [ - -10.330594112594069, - -7.209743461671342, - 160.4080567261488 - ], - "angularVelocity": [ - -2.572098306083443, - 0.6581860817605101, - -0.7141435682550208 - ] + "position": [170, 150, -100], + "linearVelocity": [-12, -18, 22], + "angularVelocity": [-2.5, 0.6, -0.7], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-9", - "position": [ - -300.953057070289603, - 225.21952155696817, - 139.05608152400566 - ], + "mass": 283, "scale": 14.151176153817078, - "linearVelocity": [ - 1.9861965590557589, - -314.387724003424648, - -8.922954201633985 - ], - "angularVelocity": [ - 0.7016416714654072, - -4.8069811132136699, - -0.16093262088047533 - ] + "position": [-240, 180, 140], + "linearVelocity": [8, -12, -10], + "angularVelocity": [0.7, -4.8, -0.1], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-10", - "position": [ - 300.953057070289603, - 225.21952155696817, - 139.05608152400566 - ], + "mass": 240, "scale": 12, - "linearVelocity": [ - 100.9861965590557589, - -314.387724003424648, - -240.922954201633985 - ], - "angularVelocity": [ - 0.7016416714654072, - -4.8069811132136699, - -0.16093262088047533 - ] + "position": [280, -200, 150], + "linearVelocity": [-15, 10, -8], + "angularVelocity": [0.7, -4.8, -0.1], + "targetId": "ORBIT", + "targetMode": "orbit" }, { "id": "asteroid-11", - "position": [ - 300.953057070289603, - -225.21952155696817, - 69.05608152400566 - ], + "mass": 600, "scale": 30, - "linearVelocity": [ - 100.9861965590557589, - -214.387724003424648, - 140.922954201633985 - ], - "angularVelocity": [ - 0.7016416714654072, - -4.8069811132136699, - -0.16093262088047533 - ] + "position": [-300, 200, -150], + "linearVelocity": [10, -6, 8], + "angularVelocity": [0.7, -4.8, -0.1], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-12", + "mass": 100, + "scale": 5, + "position": [130, -95, 70], + "linearVelocity": [-55, 40, 65], + "angularVelocity": [1.2, -0.8, 0.5], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-13", + "mass": 160, + "scale": 8, + "position": [-85, 160, 120], + "linearVelocity": [48, -35, 58], + "angularVelocity": [-0.6, 1.5, -1.2], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-14", + "mass": 60, + "scale": 3, + "position": [210, 95, -180], + "linearVelocity": [-62, 50, -42], + "angularVelocity": [0.9, 0.4, -1.8], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-15", + "mass": 180, + "scale": 9, + "position": [-145, -175, 85], + "linearVelocity": [38, 52, -45], + "angularVelocity": [-1.1, -0.7, 0.9], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-16", + "mass": 140, + "scale": 7, + "position": [55, 230, -195], + "linearVelocity": [-45, -58, 52], + "angularVelocity": [0.3, 2.1, -0.6], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-17", + "mass": 220, + "scale": 11, + "position": [-270, -110, -160], + "linearVelocity": [52, 38, 48], + "angularVelocity": [-0.8, 0.5, 1.4], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-18", + "mass": 80, + "scale": 4, + "position": [185, -250, 95], + "linearVelocity": [-48, 62, -38], + "angularVelocity": [1.6, -1.2, -0.4], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-19", + "mass": 260, + "scale": 13, + "position": [-110, 85, 280], + "linearVelocity": [35, -42, -55], + "angularVelocity": [-0.5, 0.9, 1.1], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-20", + "mass": 120, + "scale": 6, + "position": [320, 140, -85], + "linearVelocity": [-58, -45, 40], + "angularVelocity": [0.7, -1.8, 0.3], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-21", + "mass": 300, + "scale": 15, + "position": [-195, -290, 120], + "linearVelocity": [42, 55, -48], + "angularVelocity": [-1.3, 0.6, -0.9], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-22", + "mass": 160, + "scale": 8, + "position": [95, -65, -310], + "linearVelocity": [-40, 58, 65], + "angularVelocity": [0.4, -0.3, 2.2], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "asteroid-23", + "mass": 200, + "scale": 10, + "position": [-350, 165, 90], + "linearVelocity": [55, -38, -52], + "angularVelocity": [-0.9, 1.7, 0.5], + "targetId": "ORBIT", + "targetMode": "orbit" } ] } diff --git a/public/levels/template.json b/public/levels/template.json new file mode 100644 index 0000000..77ceb70 --- /dev/null +++ b/public/levels/template.json @@ -0,0 +1,189 @@ +{ + "sun": { + "diameter": 50, + "position": [ + 0, + 0, + 400 + ] + }, + "ship": { + "position": [ + 0, + 2, + 0 + ], + "rotation": [ + 0, + 0, + 0 + ] + }, + "planets": [], + "version": "1.0", + "metadata": { + "author": "BabylonJS Editor", + "description": "Exported from Editor" + }, + "targets": [ + { + "id": "ORBIT", + "name": "ORBIT", + "position": [ + 0, + 0, + 0 + ] + }, + { + "id": "LINEAR", + "name": "LINEAR", + "position": [ + 0, + -46.40267541850123, + 0 + ] + } + ], + "asteroids": [ + { + "id": "Asteroid", + "mass": 100, + "scale": 5, + "position": [ + 0, + 55.91356273231697, + -84.76095007459317 + ], + "linearVelocity": [ + 0, + 0, + -30 + ], + "angularVelocity": [ + 0, + 0, + 5 + ], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "Asteroid (Mesh Instance)", + "mass": 100, + "scale": 5, + "position": [ + -216.86571629860342, + 6.395638981779044, + 0 + ], + "linearVelocity": [ + 0, + 0, + 20 + ], + "angularVelocity": [ + 1, + 0, + 0 + ] + }, + { + "id": "Asteroid (Mesh Instance)", + "mass": 100, + "scale": 5, + "position": [ + 125.92973388713749, + 0, + 0 + ], + "linearVelocity": [ + 0, + 0, + 30 + ], + "angularVelocity": [ + 0, + 0, + 0 + ], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "Asteroid (Mesh Instance)", + "mass": 1, + "scale": 25, + "position": [ + 121.55444252370417, + 3.373869538878104, + -350.47951942991017 + ], + "linearVelocity": [ + 0, + 0, + 50 + ], + "angularVelocity": [ + 0, + 0, + 10 + ], + "targetId": "ORBIT", + "targetMode": "orbit" + }, + { + "id": "Asteroid (Mesh Instance)", + "mass": 100, + "scale": 5, + "position": [ + -50.27889543892182, + 2.934664213442815, + 57.70721855086853 + ], + "linearVelocity": [ + 100, + 0, + 10 + ], + "angularVelocity": [ + 0, + 2, + 0 + ] + }, + { + "id": "Asteroid (Mesh Instance)", + "mass": 210, + "scale": 5, + "position": [ + -154.4148281169747, + -133.4543443541567, + -230.29621395184932 + ], + "linearVelocity": [ + 0, + 30, + 0 + ], + "angularVelocity": [ + 0.1, + 1, + -1 + ], + "targetId": "ORBIT", + "targetMode": "orbit" + } + ], + "startBase": { + "position": [ + 0, + 0, + 0 + ], + "baseGlbPath": "base.glb" + }, + "timestamp": "2025-12-05T14:49:29.176Z", + "difficulty": "rookie", + "useOrbitConstraints": true +} \ No newline at end of file diff --git a/src/components/editor/LevelConfigEditor.svelte b/src/components/editor/LevelConfigEditor.svelte index ffd3dff..f501bd4 100644 --- a/src/components/editor/LevelConfigEditor.svelte +++ b/src/components/editor/LevelConfigEditor.svelte @@ -22,7 +22,7 @@ let level: CloudLevelEntry | null = null; let config: LevelConfig | null = null; let error = ''; - let activeTab = 'ship'; + let activeTab = 'general'; // Message state let message = ''; @@ -30,6 +30,7 @@ let showMessage = false; const tabs = [ + { id: 'general', label: '⚙️ General' }, { id: 'ship', label: '🚀 Ship' }, { id: 'base', label: '🛬 Base' }, { id: 'sun', label: '☀️ Sun' }, @@ -39,6 +40,8 @@ { id: 'planets', label: '🪐 Planets' } ]; + const musicOptions = ['song1.mp3', 'song2.mp3','song3.mp3']; + onMount(async () => { await loadLevel(); }); @@ -84,7 +87,12 @@ try { const service = CloudLevelService.getInstance(); - const updated = await service.updateLevelAsAdmin(level.id, { config }); + // Convert empty strings to undefined before saving + const cleanConfig = { + ...config, + backgroundMusic: config.backgroundMusic || undefined + }; + const updated = await service.updateLevelAsAdmin(level.id, { config: cleanConfig }); if (updated) { level = updated; @@ -170,7 +178,23 @@
- {#if activeTab === 'ship'} + {#if activeTab === 'general'} +
+
+ + +
+
+ + +
+
+ {:else if activeTab === 'ship'} {:else if activeTab === 'base'} @@ -234,4 +258,27 @@ .tab-content { min-height: 300px; } + + .field-row { + display: flex; + align-items: center; + gap: 1rem; + margin-bottom: 0.75rem; + } + + .field-row label { + min-width: 150px; + color: var(--color-text-secondary, #888); + } + + .field-row select, + .field-row input { + flex: 1; + padding: 0.5rem; + background: var(--color-bg-tertiary, #252540); + border: 1px solid var(--color-border, #333); + border-radius: 4px; + color: var(--color-text-primary, #fff); + max-width: 300px; + } diff --git a/src/core/logger.ts b/src/core/logger.ts index d74e9fb..b2469cc 100644 --- a/src/core/logger.ts +++ b/src/core/logger.ts @@ -9,14 +9,10 @@ if (queryLevel && ['debug', 'info', 'warn', 'error'].includes(queryLevel)) { // Check localStorage for custom level (enables production debugging) const storedLevel = localStorage.getItem('log-level'); - +console.log(storedLevel); // Set level: localStorage override > environment default if (storedLevel) { log.setLevel(storedLevel as log.LogLevelDesc); -} else { - const isDev = window.location.hostname === 'localhost' || - window.location.hostname.includes('dev.'); - log.setLevel(isDev ? 'debug' : 'warn'); } export default log; diff --git a/src/core/sceneSetup.ts b/src/core/sceneSetup.ts index 1eb9a78..58ca194 100644 --- a/src/core/sceneSetup.ts +++ b/src/core/sceneSetup.ts @@ -64,6 +64,9 @@ function createMainScene(engine: Engine): void { //DefaultScene.MainScene.performancePriority = ScenePerformancePriority.Intermediate; DefaultScene.MainScene.autoClear = false; DefaultScene.MainScene.autoClearDepthAndStencil = false; + //const hdrTexture = new HDRCubeTexture("/assets/untitled.hdr", DefaultScene.MainScene, 2048); + //DefaultScene.MainScene.environmentTexture = hdrTexture; + //DefaultScene.MainScene.createDefaultSkybox(hdrTexture, true, 1000); } async function setupPhysics(): Promise { diff --git a/src/levels/config/levelConfig.ts b/src/levels/config/levelConfig.ts index 2ec0e41..9881264 100644 --- a/src/levels/config/levelConfig.ts +++ b/src/levels/config/levelConfig.ts @@ -144,6 +144,7 @@ export interface LevelConfig { version: string; difficulty: string; timestamp?: string; // ISO date string + backgroundMusic?: string; // Audio filename e.g., "song1.mp3" - defaults to "song1.mp3" metadata?: { author?: string; description?: string; diff --git a/src/levels/level1.ts b/src/levels/level1.ts index 33d2211..4c36194 100644 --- a/src/levels/level1.ts +++ b/src/levels/level1.ts @@ -358,7 +358,9 @@ export class Level1 implements Level { this._hintSystem.setAudioEngine(audioEngine); // Load background music (uses prefetched audio if available) - const musicUrl = "/assets/themes/default/audio/song1.mp3"; + const musicFile = this._levelConfig.backgroundMusic || "song1.mp3"; + log.debug(musicFile); + const musicUrl = `/assets/themes/default/audio/${musicFile}`; this._backgroundMusic = await audioEngine.createSoundAsync( "background", getAudioSource(musicUrl), diff --git a/src/utils/audioPrefetch.ts b/src/utils/audioPrefetch.ts index 6746018..c090842 100644 --- a/src/utils/audioPrefetch.ts +++ b/src/utils/audioPrefetch.ts @@ -9,6 +9,7 @@ const AUDIO_FILES = [ `${AUDIO_BASE}/shot.mp3`, `${AUDIO_BASE}/collision.mp3`, `${AUDIO_BASE}/song1.mp3`, + `${AUDIO_BASE}/song2.mp3`, ]; // Cache for prefetched audio buffers diff --git a/themes/default/Untitled.png b/themes/default/Untitled.png new file mode 100644 index 0000000..1ebb3fd Binary files /dev/null and b/themes/default/Untitled.png differ diff --git a/themes/default/base3.blend b/themes/default/base3.blend new file mode 100644 index 0000000..714d8a3 Binary files /dev/null and b/themes/default/base3.blend differ diff --git a/themes/default/explosion.aup3 b/themes/default/explosion.aup3 index f304db6..3af4de3 100644 Binary files a/themes/default/explosion.aup3 and b/themes/default/explosion.aup3 differ diff --git a/themes/default/ship.blend b/themes/default/ship.blend index c48d5b6..ce07680 100644 Binary files a/themes/default/ship.blend and b/themes/default/ship.blend differ diff --git a/themes/default/ship.blend1 b/themes/default/ship.blend1 index 31d1d95..1797cf0 100644 Binary files a/themes/default/ship.blend1 and b/themes/default/ship.blend1 differ