Add editor sample regression pack
This commit is contained in:
1 parent
c55f34780f
commit
06010c5922
31 files changed
+3258
-110
No files matched your search
@@ -0,0 +1,332 @@
|
||||
(schema_version: 4, resources: {}, entities: {
|
||||
1: (components: {
|
||||
"bevy_ecs::name::Name": "Foundation Brush",
|
||||
"bevy_transform::components::transform::Transform": (
|
||||
translation: (0.0, 0.5, 0.0),
|
||||
rotation: (0.0, 0.0, 0.0, 1.0),
|
||||
scale: (1.0, 1.0, 1.0),
|
||||
),
|
||||
"shared::components::ActorId": ("sample-brush-foundation"),
|
||||
"shared::components::ActorKind": Brush,
|
||||
"shared::components::EditorVisibility": (visible: true),
|
||||
"shared::components::HierarchySiblingIndex": (0),
|
||||
"shared::components::LevelObject": (),
|
||||
"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: [],
|
||||
),
|
||||
"shared::components::BrushDesc": (
|
||||
kind: Additive,
|
||||
faces: [
|
||||
(
|
||||
id: ("face:+x"),
|
||||
plane: (normal: (1.0, 0.0, 0.0), distance: 5.0),
|
||||
vertices: [(5.0, -0.5, -4.0), (5.0, 0.5, -4.0), (5.0, 0.5, 4.0), (5.0, -0.5, 4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-x"),
|
||||
plane: (normal: (-1.0, 0.0, 0.0), distance: 5.0),
|
||||
vertices: [(-5.0, -0.5, 4.0), (-5.0, 0.5, 4.0), (-5.0, 0.5, -4.0), (-5.0, -0.5, -4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+y"),
|
||||
plane: (normal: (0.0, 1.0, 0.0), distance: 0.5),
|
||||
vertices: [(-5.0, 0.5, -4.0), (-5.0, 0.5, 4.0), (5.0, 0.5, 4.0), (5.0, 0.5, -4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-y"),
|
||||
plane: (normal: (0.0, -1.0, 0.0), distance: 0.5),
|
||||
vertices: [(-5.0, -0.5, 4.0), (-5.0, -0.5, -4.0), (5.0, -0.5, -4.0), (5.0, -0.5, 4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+z"),
|
||||
plane: (normal: (0.0, 0.0, 1.0), distance: 4.0),
|
||||
vertices: [(5.0, -0.5, 4.0), (5.0, 0.5, 4.0), (-5.0, 0.5, 4.0), (-5.0, -0.5, 4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-z"),
|
||||
plane: (normal: (0.0, 0.0, -1.0), distance: 4.0),
|
||||
vertices: [(-5.0, -0.5, -4.0), (-5.0, 0.5, -4.0), (5.0, 0.5, -4.0), (5.0, -0.5, -4.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
],
|
||||
cast_shadows: true,
|
||||
receive_shadows: true,
|
||||
),
|
||||
}),
|
||||
2: (components: {
|
||||
"bevy_ecs::name::Name": "Material Face Tower",
|
||||
"bevy_transform::components::transform::Transform": (
|
||||
translation: (-2.5, 3.0, 0.0),
|
||||
rotation: (0.0, 0.0, 0.0, 1.0),
|
||||
scale: (1.0, 1.0, 1.0),
|
||||
),
|
||||
"shared::components::ActorId": ("sample-brush-material-tower"),
|
||||
"shared::components::ActorKind": Brush,
|
||||
"shared::components::EditorVisibility": (visible: true),
|
||||
"shared::components::HierarchySiblingIndex": (1),
|
||||
"shared::components::LevelObject": (),
|
||||
"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: [],
|
||||
),
|
||||
"shared::components::BrushDesc": (
|
||||
kind: Additive,
|
||||
faces: [
|
||||
(
|
||||
id: ("face:+x"),
|
||||
plane: (normal: (1.0, 0.0, 0.0), distance: 1.25),
|
||||
vertices: [(1.25, -2.0, -1.25), (1.25, 2.0, -1.25), (1.25, 2.0, 1.25), (1.25, -2.0, 1.25)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-x"),
|
||||
plane: (normal: (-1.0, 0.0, 0.0), distance: 1.25),
|
||||
vertices: [(-1.25, -2.0, 1.25), (-1.25, 2.0, 1.25), (-1.25, 2.0, -1.25), (-1.25, -2.0, -1.25)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+y"),
|
||||
plane: (normal: (0.0, 1.0, 0.0), distance: 2.0),
|
||||
vertices: [(-1.25, 2.0, -1.25), (-1.25, 2.0, 1.25), (1.25, 2.0, 1.25), (1.25, 2.0, -1.25)],
|
||||
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"),
|
||||
)),
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-y"),
|
||||
plane: (normal: (0.0, -1.0, 0.0), distance: 2.0),
|
||||
vertices: [(-1.25, -2.0, 1.25), (-1.25, -2.0, -1.25), (1.25, -2.0, -1.25), (1.25, -2.0, 1.25)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+z"),
|
||||
plane: (normal: (0.0, 0.0, 1.0), distance: 1.25),
|
||||
vertices: [(1.25, -2.0, 1.25), (1.25, 2.0, 1.25), (-1.25, 2.0, 1.25), (-1.25, -2.0, 1.25)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-z"),
|
||||
plane: (normal: (0.0, 0.0, -1.0), distance: 1.25),
|
||||
vertices: [(-1.25, -2.0, -1.25), (-1.25, 2.0, -1.25), (1.25, 2.0, -1.25), (1.25, -2.0, -1.25)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
],
|
||||
cast_shadows: true,
|
||||
receive_shadows: true,
|
||||
),
|
||||
}),
|
||||
3: (components: {
|
||||
"bevy_ecs::name::Name": "Subtractive Marker",
|
||||
"bevy_transform::components::transform::Transform": (
|
||||
translation: (2.5, 2.0, 0.0),
|
||||
rotation: (0.0, 0.258819, 0.0, 0.9659258),
|
||||
scale: (1.0, 1.0, 1.0),
|
||||
),
|
||||
"shared::components::ActorId": ("sample-brush-subtractive-marker"),
|
||||
"shared::components::ActorKind": Brush,
|
||||
"shared::components::EditorVisibility": (visible: true),
|
||||
"shared::components::HierarchySiblingIndex": (2),
|
||||
"shared::components::LevelObject": (),
|
||||
"shared::components::MaterialDesc": (
|
||||
shader: (kind: StandardLit, schema_path: None, shader_path: None),
|
||||
base_color: (r: 0.72, g: 0.14, b: 0.16, a: 1.0),
|
||||
metallic: 0.05,
|
||||
roughness: 0.4,
|
||||
emissive_color: (r: 1.0, g: 0.25, b: 0.2, 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: None,
|
||||
parameters: [],
|
||||
textures: [],
|
||||
),
|
||||
"shared::components::BrushDesc": (
|
||||
kind: SubtractiveMarker,
|
||||
faces: [
|
||||
(
|
||||
id: ("face:+x"),
|
||||
plane: (normal: (1.0, 0.0, 0.0), distance: 1.0),
|
||||
vertices: [(1.0, -1.0, -1.0), (1.0, 1.0, -1.0), (1.0, 1.0, 1.0), (1.0, -1.0, 1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-x"),
|
||||
plane: (normal: (-1.0, 0.0, 0.0), distance: 1.0),
|
||||
vertices: [(-1.0, -1.0, 1.0), (-1.0, 1.0, 1.0), (-1.0, 1.0, -1.0), (-1.0, -1.0, -1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+y"),
|
||||
plane: (normal: (0.0, 1.0, 0.0), distance: 1.0),
|
||||
vertices: [(-1.0, 1.0, -1.0), (-1.0, 1.0, 1.0), (1.0, 1.0, 1.0), (1.0, 1.0, -1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-y"),
|
||||
plane: (normal: (0.0, -1.0, 0.0), distance: 1.0),
|
||||
vertices: [(-1.0, -1.0, 1.0), (-1.0, -1.0, -1.0), (1.0, -1.0, -1.0), (1.0, -1.0, 1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:+z"),
|
||||
plane: (normal: (0.0, 0.0, 1.0), distance: 1.0),
|
||||
vertices: [(1.0, -1.0, 1.0), (1.0, 1.0, 1.0), (-1.0, 1.0, 1.0), (-1.0, -1.0, 1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
(
|
||||
id: ("face:-z"),
|
||||
plane: (normal: (0.0, 0.0, -1.0), distance: 1.0),
|
||||
vertices: [(-1.0, -1.0, -1.0), (-1.0, 1.0, -1.0), (1.0, 1.0, -1.0), (1.0, -1.0, -1.0)],
|
||||
material: None,
|
||||
texture: None,
|
||||
uv_offset: (0.0, 0.0),
|
||||
uv_scale: (1.0, 1.0),
|
||||
uv_rotation: 0.0,
|
||||
smoothing_group: 0,
|
||||
),
|
||||
],
|
||||
cast_shadows: true,
|
||||
receive_shadows: true,
|
||||
),
|
||||
}),
|
||||
4: (components: {
|
||||
"bevy_ecs::name::Name": "Brush 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-brush-sun"),
|
||||
"shared::components::ActorKind": Light,
|
||||
"shared::components::EditorVisibility": (visible: true),
|
||||
"shared::components::HierarchySiblingIndex": (3),
|
||||
"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,
|
||||
),
|
||||
}),
|
||||
})
|
||||
@@ -0,0 +1,189 @@
|
||||
(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,
|
||||
),
|
||||
}),
|
||||
})
|
||||
Reference in new issue
Block a user