190 lines
8.2 KiB
Plaintext
190 lines
8.2 KiB
Plaintext
(schema_version: 4, 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)),
|
|
"shared::components::MaterialDesc": (
|
|
shader: (kind: StandardLit, schema_path: None, shader_path: None),
|
|
base_color: (r: 0.55, g: 0.54, b: 0.52, a: 1.0),
|
|
metallic: 0.0,
|
|
roughness: 0.85,
|
|
emissive_color: (r: 1.0, g: 1.0, b: 1.0, a: 1.0),
|
|
emissive_intensity: 0.0,
|
|
base_color_texture: None,
|
|
emissive_texture: None,
|
|
normal_map_texture: None,
|
|
metallic_roughness_texture: None,
|
|
material_asset_path: Some("assets/materials/concrete.ron"),
|
|
parameters: [],
|
|
textures: [],
|
|
),
|
|
}),
|
|
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)),
|
|
"shared::components::MaterialDesc": (
|
|
shader: (kind: StandardLit, schema_path: None, shader_path: None),
|
|
base_color: (r: 0.55, g: 0.54, b: 0.52, a: 1.0),
|
|
metallic: 0.0,
|
|
roughness: 0.85,
|
|
emissive_color: (r: 1.0, g: 1.0, b: 1.0, a: 1.0),
|
|
emissive_intensity: 0.0,
|
|
base_color_texture: None,
|
|
emissive_texture: None,
|
|
normal_map_texture: None,
|
|
metallic_roughness_texture: None,
|
|
material_asset_path: Some("assets/materials/concrete.ron"),
|
|
parameters: [],
|
|
textures: [],
|
|
),
|
|
}),
|
|
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)),
|
|
"shared::components::MaterialDesc": (
|
|
shader: (
|
|
kind: Custom,
|
|
schema_path: Some("assets/shaders/surface_tint.shader.ron"),
|
|
shader_path: Some("assets/shaders/surface_tint.wgsl"),
|
|
),
|
|
base_color: (r: 0.12, g: 0.42, b: 0.95, a: 1.0),
|
|
metallic: 0.15,
|
|
roughness: 0.28,
|
|
emissive_color: (r: 0.02, g: 0.08, b: 0.25, a: 1.0),
|
|
emissive_intensity: 3.0,
|
|
base_color_texture: None,
|
|
emissive_texture: None,
|
|
normal_map_texture: None,
|
|
metallic_roughness_texture: None,
|
|
material_asset_path: Some("assets/materials/surface_tint.ron"),
|
|
parameters: [
|
|
(name: "tint", value: Color((r: 0.12, g: 0.42, b: 0.95, a: 1.0))),
|
|
(name: "roughness", value: Float(0.28)),
|
|
(name: "metallic", value: Float(0.15)),
|
|
(name: "emissive", value: Color((r: 0.02, g: 0.08, b: 0.25, a: 1.0))),
|
|
(name: "emissive_intensity", value: Float(3.0)),
|
|
],
|
|
textures: [],
|
|
),
|
|
}),
|
|
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)),
|
|
"shared::components::MaterialDesc": (
|
|
shader: (
|
|
kind: Custom,
|
|
schema_path: Some("assets/shaders/surface_tint.shader.ron"),
|
|
shader_path: Some("assets/shaders/surface_tint.wgsl"),
|
|
),
|
|
base_color: (r: 0.12, g: 0.42, b: 0.95, a: 1.0),
|
|
metallic: 0.15,
|
|
roughness: 0.28,
|
|
emissive_color: (r: 0.02, g: 0.08, b: 0.25, a: 1.0),
|
|
emissive_intensity: 3.0,
|
|
base_color_texture: None,
|
|
emissive_texture: None,
|
|
normal_map_texture: None,
|
|
metallic_roughness_texture: None,
|
|
material_asset_path: Some("assets/materials/surface_tint_instance.ron"),
|
|
parameters: [
|
|
(name: "tint", value: Color((r: 0.12, g: 0.42, b: 0.95, a: 1.0))),
|
|
(name: "roughness", value: Float(0.28)),
|
|
(name: "metallic", value: Float(0.15)),
|
|
(name: "emissive", value: Color((r: 0.02, g: 0.08, b: 0.25, a: 1.0))),
|
|
(name: "emissive_intensity", value: Float(3.0)),
|
|
],
|
|
textures: [],
|
|
),
|
|
}),
|
|
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)),
|
|
"shared::components::MaterialDesc": (
|
|
shader: (kind: StandardLit, schema_path: None, shader_path: None),
|
|
base_color: (r: 0.15, g: 0.22, b: 0.28, a: 1.0),
|
|
metallic: 0.0,
|
|
roughness: 0.35,
|
|
emissive_color: (r: 0.55, g: 0.85, b: 1.0, a: 1.0),
|
|
emissive_intensity: 2500.0,
|
|
base_color_texture: None,
|
|
emissive_texture: None,
|
|
normal_map_texture: None,
|
|
metallic_roughness_texture: None,
|
|
material_asset_path: Some("assets/materials/emissive_panel.ron"),
|
|
parameters: [],
|
|
textures: [],
|
|
),
|
|
}),
|
|
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,
|
|
),
|
|
}),
|
|
})
|