diff --git a/strahl-lib/src/shaders/denoise-pass-shader.ts b/strahl-lib/src/shaders/denoise-pass-shader.ts index 94e0b62..8c47ebb 100644 --- a/strahl-lib/src/shaders/denoise-pass-shader.ts +++ b/strahl-lib/src/shaders/denoise-pass-shader.ts @@ -15,9 +15,8 @@ override imageHeight: u32 = 512; struct Material { baseWeight: f32, baseColor: Color, - // todo: switch order of baseDiffuseRoughness and baseMetalness - baseDiffuseRoughness: f32, baseMetalness: f32, + baseDiffuseRoughness: f32, specularWeight: f32, specularColor: Color, specularRoughness: f32, diff --git a/strahl-lib/src/shaders/tracer-shader.ts b/strahl-lib/src/shaders/tracer-shader.ts index 959e83d..64dcc5b 100644 --- a/strahl-lib/src/shaders/tracer-shader.ts +++ b/strahl-lib/src/shaders/tracer-shader.ts @@ -11,9 +11,8 @@ alias Color = vec3f; struct Material { baseWeight: f32, baseColor: Color, - // todo: switch order of baseDiffuseRoughness and baseMetalness - baseDiffuseRoughness: f32, baseMetalness: f32, + baseDiffuseRoughness: f32, specularWeight: f32, specularColor: Color, specularRoughness: f32,