feat: complete M2 content workspace and inspector

This commit is contained in:
Rbanh committed 2026-07-17 23:40:49 -04:00
1 parent 931f561e7f
commit cf6eaba534
438 files changed
+59749 -19043

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "New Material 3",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(1.0),
),
(
name: "roughness",
value: Float(0.0),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
+75 -30
View File
@@ -1,40 +1,85 @@
(
schema_version: 1,
schema_version: 2,
label: "Concrete",
shader: None,
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
material: (
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: None,
parameters: [],
textures: [],
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.55,
g: 0.54,
b: 0.52,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.85),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
(
name: "occlusion",
value: Float(1.0),
),
],
textures: [
(
name: "base_color",
texture: None,
channel: Rgba,
),
(
name: "metallic",
texture: None,
channel: B,
),
(
name: "roughness",
texture: None,
channel: G,
),
(
name: "occlusion",
texture: None,
channel: R,
),
(
name: "normal",
texture: None,
channel: Rgb,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
),
)
+39 -29
View File
@@ -1,40 +1,50 @@
(
schema_version: 1,
schema_version: 2,
label: "Emissive Panel",
shader: None,
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
material: (
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: None,
parameters: [],
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.15,
g: 0.22,
b: 0.28,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.35),
),
(
name: "emissive_color",
value: Color((
r: 0.55,
g: 0.85,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(2500.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 05a00cdd0a637f9e",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.88,
g: 0.48,
b: 0.12,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.1),
),
(
name: "roughness",
value: Float(0.42),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 082ba03b8cbb710b",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.92,
g: 0.62,
b: 0.12,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.12),
),
(
name: "roughness",
value: Float(0.32),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 0.65,
b: 0.12,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 0a21ebb8e495bf57",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.1,
g: 0.58,
b: 0.72,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.15),
),
(
name: "roughness",
value: Float(0.35),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 1a259303a97c4ba9",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.9,
g: 0.9,
b: 0.92,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(1.0),
),
(
name: "roughness",
value: Float(0.3),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 2b86cae1d3bfacae",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.58,
g: 0.34,
b: 0.78,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.06),
),
(
name: "roughness",
value: Float(0.48),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 3546762bbff37951",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.8,
g: 0.8,
b: 0.8,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.65),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 454bcd95aaa4f1ca",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.55,
g: 0.52,
b: 0.48,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.8),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 4f65eccbb7dac1a2",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.9,
g: 0.9,
b: 0.92,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(1.0),
),
(
name: "roughness",
value: Float(0.95),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 62ef60a686be94f1",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.85,
g: 0.85,
b: 0.88,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.3),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 77cc6503f24bb9e8",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.78,
g: 0.16,
b: 0.2,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.02),
),
(
name: "roughness",
value: Float(0.58),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 78bc49856f47eae1",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.12,
g: 0.14,
b: 0.16,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.05),
),
(
name: "roughness",
value: Float(0.72),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 964101ee77293501",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.18,
g: 0.62,
b: 0.36,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.05),
),
(
name: "roughness",
value: Float(0.55),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 97356bd0ac2f6198",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.3,
g: 0.45,
b: 0.7,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.1),
),
(
name: "roughness",
value: Float(0.55),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material 9a630ee3e4848d9d",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.42,
g: 0.45,
b: 0.48,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.92),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material a74f874eafd5d224",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.16,
g: 0.52,
b: 0.78,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.08),
),
(
name: "roughness",
value: Float(0.42),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,85 @@
(
schema_version: 2,
label: "Legacy Material b278a62978900638",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.9,
g: 0.9,
b: 0.92,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(1.0),
),
(
name: "roughness",
value: Float(0.0),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
(
name: "occlusion",
value: Float(1.0),
),
],
textures: [
(
name: "base_color",
texture: None,
channel: Rgba,
),
(
name: "metallic",
texture: None,
channel: B,
),
(
name: "roughness",
texture: None,
channel: G,
),
(
name: "occlusion",
texture: None,
channel: R,
),
(
name: "normal",
texture: None,
channel: Rgb,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
),
)
@@ -0,0 +1,85 @@
(
schema_version: 2,
label: "Legacy Material c656429ce3668694",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.9,
g: 0.9,
b: 0.92,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.0),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
(
name: "occlusion",
value: Float(1.0),
),
],
textures: [
(
name: "base_color",
texture: None,
channel: Rgba,
),
(
name: "metallic",
texture: None,
channel: B,
),
(
name: "roughness",
texture: None,
channel: G,
),
(
name: "occlusion",
texture: None,
channel: R,
),
(
name: "normal",
texture: None,
channel: Rgb,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material c6c02ef278fba7c3",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.38,
g: 0.4,
b: 0.46,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.02),
),
(
name: "roughness",
value: Float(0.68),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material c6fbbebd3e1a9943",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.12,
g: 0.68,
b: 0.82,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.03),
),
(
name: "roughness",
value: Float(0.4),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material c9d05c61e5cf348d",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.1,
g: 0.58,
b: 0.72,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.15),
),
(
name: "roughness",
value: Float(0.35),
),
(
name: "emissive_color",
value: Color((
r: 0.1,
g: 0.58,
b: 0.72,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material cc0396f5c90fb7bb",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.62,
g: 0.24,
b: 0.56,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.08),
),
(
name: "roughness",
value: Float(0.5),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "Legacy Material e9671004b101f4df",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.82,
g: 0.18,
b: 0.2,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.08),
),
(
name: "roughness",
value: Float(0.38),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 0.2,
b: 0.2,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
@@ -0,0 +1,89 @@
(
schema_version: 2,
label: "Legacy Material fc132d9b30cc63d4",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.72,
g: 0.45,
b: 0.2,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.85),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
(
name: "occlusion",
value: Float(1.0),
),
(
name: "normal",
value: Float(0.85),
),
],
textures: [
(
name: "base_color",
texture: None,
channel: Rgba,
),
(
name: "metallic",
texture: None,
channel: B,
),
(
name: "roughness",
texture: None,
channel: G,
),
(
name: "occlusion",
texture: None,
channel: R,
),
(
name: "normal",
texture: None,
channel: Rgb,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
),
)
+50
View File
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "New Material",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.8,
g: 0.8,
b: 0.8,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.65),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
+50
View File
@@ -0,0 +1,50 @@
(
schema_version: 2,
label: "New Material 2",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 0.8,
g: 0.8,
b: 0.8,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.0),
),
(
name: "roughness",
value: Float(0.65),
),
(
name: "emissive_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
],
textures: [],
),
)
Binary file not shown.
+128
View File
@@ -0,0 +1,128 @@
(
schema_version: 2,
label: "pebble_bricks",
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: true,
),
provenance: Some((
source_path: "assets/materials/pebble_bricks_4k.gltf",
source_fingerprint: "55a5374732e4174e33859cf415d22ac855cea3efe8d8ff78c6ee42c86d8fd5fb",
source_sub_asset_id: "material:0",
source_label: "pebble_bricks",
)),
inputs: (
values: [
(
name: "base_color",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(1.0),
),
(
name: "roughness",
value: Float(1.0),
),
(
name: "emissive_color",
value: Color((
r: 0.0,
g: 0.0,
b: 0.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(0.0),
),
(
name: "occlusion",
value: Float(1.0),
),
(
name: "uv_offset",
value: Vec2((0.0, 0.0)),
),
(
name: "uv_tiling",
value: Vec2((25.0, 25.0)),
),
(
name: "normal",
value: Float(1.0),
),
],
textures: [
(
name: "base_color",
texture: Some((
asset_id: "d3b9bec5-c0ea-4f83-ad80-f9e2a8cb69ee",
sub_asset_id: "texture:source",
label: "pebble_bricks_diff_4k",
source_path: Some("assets/materials/textures/pebble_bricks_diff_4k.jpg"),
)),
channel: Rgba,
),
(
name: "normal",
texture: Some((
asset_id: "7c5235a1-f5d7-4530-b29f-5ea075881df5",
sub_asset_id: "texture:source",
label: "pebble_bricks_nor_gl_4k",
source_path: Some("assets/materials/textures/pebble_bricks_nor_gl_4k.jpg"),
)),
channel: Rgb,
),
(
name: "occlusion",
texture: Some((
asset_id: "25db6174-afcb-421f-8c1c-0c5ffde21b79",
sub_asset_id: "texture:source",
label: "pebble_bricks_arm_4k",
source_path: Some("assets/materials/textures/pebble_bricks_arm_4k.jpg"),
)),
channel: R,
),
(
name: "roughness",
texture: Some((
asset_id: "25db6174-afcb-421f-8c1c-0c5ffde21b79",
sub_asset_id: "texture:source",
label: "pebble_bricks_arm_4k",
source_path: Some("assets/materials/textures/pebble_bricks_arm_4k.jpg"),
)),
channel: G,
),
(
name: "metallic",
texture: Some((
asset_id: "25db6174-afcb-421f-8c1c-0c5ffde21b79",
sub_asset_id: "texture:source",
label: "pebble_bricks_arm_4k",
source_path: Some("assets/materials/textures/pebble_bricks_arm_4k.jpg"),
)),
channel: B,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
),
)
Binary file not shown.
+76 -44
View File
@@ -1,71 +1,103 @@
(
schema_version: 1,
schema_version: 2,
label: "Surface Tint",
shader: Some("assets/shaders/surface_tint.shader.ron"),
shader: (
kind: StandardLit,
schema_path: None,
shader_path: None,
),
shader_ref: None,
render_state: (
alpha_mode: Opaque,
alpha_cutoff: 0.5,
double_sided: false,
double_sided: true,
),
material: (
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: None,
parameters: [
inputs: (
values: [
(
name: "tint",
name: "base_color",
value: Color((
r: 0.12,
g: 0.42,
b: 0.95,
r: 0.0,
g: 0.0,
b: 0.0,
a: 1.0,
)),
),
(
name: "metallic",
value: Float(0.32),
),
(
name: "roughness",
value: Float(0.28),
),
(
name: "metallic",
value: Float(0.15),
),
(
name: "emissive",
name: "emissive_color",
value: Color((
r: 0.02,
g: 0.08,
b: 0.25,
r: 0.0,
g: 0.0,
b: 0.0,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(3.0),
value: Float(0.0),
),
(
name: "tint",
value: Color((
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
)),
),
(
name: "emissive",
value: Color((
r: 0.8786662,
g: 0.0,
b: 0.0,
a: 1.0,
)),
),
(
name: "occlusion",
value: Float(1.0),
),
],
textures: [
(
name: "base_color",
texture: None,
channel: Rgba,
),
(
name: "metallic",
texture: None,
channel: B,
),
(
name: "roughness",
texture: None,
channel: G,
),
(
name: "occlusion",
texture: None,
channel: R,
),
(
name: "normal",
texture: None,
channel: Rgb,
),
(
name: "emissive_color",
texture: None,
channel: Rgb,
),
],
textures: [],
),
)
+28 -3
View File
@@ -1,5 +1,5 @@
(
schema_version: 1,
schema_version: 2,
label: "surface_tint Instance",
base: ((
asset_id: "d6cb4151-7124-4237-aaf9-f7f8abd5fb76",
@@ -7,6 +7,31 @@
label: "surface_tint",
source_path: Some("assets/materials/surface_tint.ron"),
)),
parameters: [],
textures: [],
overrides: (
values: [
(
name: "base_color",
value: Color((
r: 0.82078725,
g: 0.04000172,
b: 0.04000172,
a: 1.0,
)),
),
(
name: "emissive_intensity",
value: Float(20000.0),
),
(
name: "tint",
value: Color((
r: 0.32096356,
g: 0.32096356,
b: 0.32096356,
a: 1.0,
)),
),
],
textures: [],
),
)
Binary file not shown.
Binary file not shown.
Binary file not shown.