61 lines
2.3 KiB
Plaintext
61 lines
2.3 KiB
Plaintext
(schema_version: 4, resources: {}, entities: {
|
|
1: (components: {
|
|
"bevy_ecs::name::Name": "Terrain Showcase",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, 0.0, 0.0),
|
|
rotation: (0.0, 0.0, 0.0, 1.0),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("terrain-showcase-main"),
|
|
"shared::components::ActorKind": Terrain,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (0),
|
|
"shared::components::LevelObject": (),
|
|
"shared::components::TerrainDesc": (
|
|
schema_version: 1,
|
|
resolution: 5,
|
|
heights: [
|
|
0.00, 0.00, 0.05, 0.00, 0.00,
|
|
0.00, 0.15, 0.30, 0.10, 0.00,
|
|
0.05, 0.35, 0.80, 0.25, 0.05,
|
|
0.00, 0.20, 0.40, 0.15, 0.00,
|
|
0.00, 0.00, 0.05, 0.00, 0.00,
|
|
],
|
|
sample_spacing: 2.0,
|
|
height_scale: 3.0,
|
|
chunk_quads: 2,
|
|
base_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"),
|
|
)),
|
|
generate_colliders: true,
|
|
cast_shadows: true,
|
|
receive_shadows: true,
|
|
),
|
|
}),
|
|
2: (components: {
|
|
"bevy_ecs::name::Name": "Terrain Sun",
|
|
"bevy_transform::components::transform::Transform": (
|
|
translation: (0.0, 8.0, 0.0),
|
|
rotation: (0.1691, -0.0670, 0.7244, 0.6648),
|
|
scale: (1.0, 1.0, 1.0),
|
|
),
|
|
"shared::components::ActorId": ("terrain-showcase-sun"),
|
|
"shared::components::ActorKind": Light,
|
|
"shared::components::EditorVisibility": (visible: true),
|
|
"shared::components::HierarchySiblingIndex": (1),
|
|
"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,
|
|
),
|
|
}),
|
|
})
|