167 lines
6.2 KiB
Plaintext
167 lines
6.2 KiB
Plaintext
(schema_version: 5,resources: {
|
|
},
|
|
entities: {
|
|
1: (components: {
|
|
"bevy_ecs::name::Name": "Material Lab Floor",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, -0.2, 0.0),
|
|
rotation: (0.0, 0.0, 0.0, 1.0),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-floor"),
|
|
"shared::components::ActorKind": StaticMesh,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (0),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::Primitive": (
|
|
shape: Box,
|
|
size: (14.0, 0.4, 8.0),
|
|
surface: (
|
|
id: ("slot:primitive:surface"),
|
|
name: "Surface",
|
|
source_material: None,
|
|
material: Some(((
|
|
asset_id: "a57f2891-8536-47b8-b476-01c08b36ac43",
|
|
sub_asset_id: "material:source",
|
|
label: "concrete",
|
|
source_path: Some("assets/materials/concrete.ron"),
|
|
))),
|
|
),
|
|
),
|
|
}),
|
|
2: (components: {
|
|
"bevy_ecs::name::Name": "Concrete Reference",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (-4.0, 1.0, 0.0),
|
|
rotation: (0.0, 0.2164396, 0.0, 0.976296),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-concrete"),
|
|
"shared::components::ActorKind": StaticMesh,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (1),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::Primitive": (
|
|
shape: Box,
|
|
size: (2.0, 2.0, 2.0),
|
|
surface: (
|
|
id: ("slot:primitive:surface"),
|
|
name: "Surface",
|
|
source_material: None,
|
|
material: Some(((
|
|
asset_id: "a57f2891-8536-47b8-b476-01c08b36ac43",
|
|
sub_asset_id: "material:source",
|
|
label: "concrete",
|
|
source_path: Some("assets/materials/concrete.ron"),
|
|
))),
|
|
),
|
|
),
|
|
}),
|
|
3: (components: {
|
|
"bevy_ecs::name::Name": "Custom Surface Reference",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, 1.2, 0.0),
|
|
rotation: (0.0, 0.0, 0.0, 1.0),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-custom-surface"),
|
|
"shared::components::ActorKind": StaticMesh,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (2),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::Primitive": (
|
|
shape: Sphere,
|
|
size: (2.4, 2.4, 2.4),
|
|
surface: (
|
|
id: ("slot:primitive:surface"),
|
|
name: "Surface",
|
|
source_material: None,
|
|
material: Some(((
|
|
asset_id: "d6cb4151-7124-4237-aaf9-f7f8abd5fb76",
|
|
sub_asset_id: "material:source",
|
|
label: "surface_tint",
|
|
source_path: Some("assets/materials/surface_tint.ron"),
|
|
))),
|
|
),
|
|
),
|
|
}),
|
|
4: (components: {
|
|
"bevy_ecs::name::Name": "Material Instance Reference",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (4.0, 1.0, 0.0),
|
|
rotation: (0.0, -0.1305262, 0.0, 0.9914449),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-instance"),
|
|
"shared::components::ActorKind": StaticMesh,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (3),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::Primitive": (
|
|
shape: Box,
|
|
size: (2.6, 2.0, 2.6),
|
|
surface: (
|
|
id: ("slot:primitive:surface"),
|
|
name: "Surface",
|
|
source_material: None,
|
|
material: Some(((
|
|
asset_id: "cc2769da-c9a5-4cb3-866a-cc81d0688ee2",
|
|
sub_asset_id: "material:instance",
|
|
label: "surface_tint_instance",
|
|
source_path: Some("assets/materials/surface_tint_instance.ron"),
|
|
))),
|
|
),
|
|
),
|
|
}),
|
|
5: (components: {
|
|
"bevy_ecs::name::Name": "Emissive Reference Panel",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, 2.3, -3.6),
|
|
rotation: (0.0, 0.0, 0.0, 1.0),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-emissive-panel"),
|
|
"shared::components::ActorKind": StaticMesh,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (4),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::Primitive": (
|
|
shape: Box,
|
|
size: (9.0, 3.0, 0.25),
|
|
surface: (
|
|
id: ("slot:primitive:surface"),
|
|
name: "Surface",
|
|
source_material: None,
|
|
material: Some(((
|
|
asset_id: "4f684592-50b1-47e4-888c-8ba537e4c29d",
|
|
sub_asset_id: "material:source",
|
|
label: "emissive_panel",
|
|
source_path: Some("assets/materials/emissive_panel.ron"),
|
|
))),
|
|
),
|
|
),
|
|
}),
|
|
6: (components: {
|
|
"bevy_ecs::name::Name": "Material Lab Sun",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, 8.0, 4.0),
|
|
rotation: (-0.3826834, 0.0, 0.0, 0.9238795),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("sample-material-sun"),
|
|
"shared::components::ActorKind": Light,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (5),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::LightDesc": (
|
|
kind: Directional,
|
|
color: (r: 1.0, g: 0.95, b: 0.85, a: 1.0),
|
|
intensity: 100000.0,
|
|
range: 0.0,
|
|
shadows: true,
|
|
inner_angle_deg: 25.0,
|
|
outer_angle_deg: 35.0,
|
|
),
|
|
}),
|
|
},
|
|
) |