2c4394231f
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
99 lines
2.5 KiB
Plaintext
99 lines
2.5 KiB
Plaintext
{
|
|
"id": "Scene",
|
|
"materials": [
|
|
{
|
|
"albedoTexture": "assets://textures/Default_albedo.tx",
|
|
"baseColor": [ 1, 1, 1, 1 ],
|
|
"emissiveFactor": [ 1, 1, 1 ],
|
|
"emissiveTexture": "assets://textures/Default_emissive.tx",
|
|
"id": "Material_MR",
|
|
"metallicFactor": 1,
|
|
"metallicRoughnessTexture": "assets://textures/Default_AO-Default_metalRoughness.tx",
|
|
"normalTexture": "assets://textures/Default_normal.tx",
|
|
"pipeline": "DefaultPipeline",
|
|
"roughnessFactor": 1
|
|
},
|
|
{
|
|
"baseColor": [ 1, 1, 1, 1 ],
|
|
"emissiveFactor": [ 1, 1, 1 ],
|
|
"id": "Scene_Material_Dummy_1",
|
|
"metallicFactor": 1,
|
|
"pipeline": "DefaultPipeline",
|
|
"roughnessFactor": 1
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"components": [
|
|
{
|
|
"position": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"rotation": [
|
|
-179.999991348578,
|
|
-0,
|
|
0
|
|
],
|
|
"scale": [
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"type": "TransformComponent"
|
|
},
|
|
{
|
|
"material": "Material_MR",
|
|
"mesh": "assets://meshes/DamagedHelmet_mesh_helmet_LP_13930damagedHelmet.mesh",
|
|
"type": "RenderComponent"
|
|
}
|
|
],
|
|
"id": "node_damagedHelmet_-6514"
|
|
},
|
|
{
|
|
"id": "Camera",
|
|
"components": [
|
|
{
|
|
"type": "TransformComponent",
|
|
"position": [0.0, -2.0, 11.0],
|
|
"rotation": [0.0, 0.0, 0.0],
|
|
"scale": [1.0, 1.0, 1.0]
|
|
},
|
|
{
|
|
"type": "ScriptComponent",
|
|
"script_name": "MainCameraController",
|
|
"script_path": "scripts://MainScene/Camera.lua"
|
|
}
|
|
],
|
|
"children": [
|
|
{
|
|
"id": "RotationHelper",
|
|
"components": [
|
|
{
|
|
"type": "TransformComponent",
|
|
"position": [0.0, 0.0, 0.0],
|
|
"rotation": [0.0, 0.0, 0.0],
|
|
"scale": [1.0, 1.0, 1.0]
|
|
},
|
|
{
|
|
"type": "CameraComponent",
|
|
"view": "Perspective",
|
|
"fov": 90,
|
|
"near": 0.001,
|
|
"far": 1000,
|
|
"aspectRatio": 1.3333
|
|
},
|
|
{
|
|
"type": "ScriptComponent",
|
|
"script_name": "MainCameraRotationHelper",
|
|
"script_path": "scripts://MainScene/CameraHelper.lua"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"activeCamera": "Camera.RotationHelper"
|
|
}
|