Add dedicated skinned rendering, pose restoration, shared Material and Material Instance slots, registry-driven components, Surface/Solari integration, transactional schema upgrades, navigation authoring, documentation, and evaluation evidence.
80 lines
1.8 KiB
Plaintext
80 lines
1.8 KiB
Plaintext
(
|
|
schema_version: 1,
|
|
label: "Surface Tint",
|
|
kind: Custom,
|
|
wgsl_path: Some("assets/shaders/surface_tint.wgsl"),
|
|
parameters: [
|
|
(
|
|
name: "tint",
|
|
display_name: "Tint",
|
|
group: "Surface",
|
|
property_type: Color,
|
|
),
|
|
(
|
|
name: "roughness",
|
|
display_name: "Roughness",
|
|
group: "Surface",
|
|
property_type: Float(
|
|
min: Some(0.001),
|
|
max: Some(1.0),
|
|
),
|
|
),
|
|
(
|
|
name: "metallic",
|
|
display_name: "Metallic",
|
|
group: "Surface",
|
|
property_type: Float(
|
|
min: Some(0.0),
|
|
max: Some(1.0),
|
|
),
|
|
),
|
|
(
|
|
name: "emissive",
|
|
display_name: "Emissive",
|
|
group: "Emission",
|
|
property_type: Color,
|
|
),
|
|
(
|
|
name: "emissive_intensity",
|
|
display_name: "Emissive Nits",
|
|
group: "Emission",
|
|
property_type: Float(
|
|
min: Some(0.0),
|
|
max: Some(20000.0),
|
|
),
|
|
),
|
|
],
|
|
default_values: [
|
|
(
|
|
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),
|
|
),
|
|
],
|
|
default_textures: [],
|
|
) |