Skip to content

Commit

Permalink
Update parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 28, 2024
1 parent 19170c2 commit 00c4537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions strahl-lib/src/shaders/denoise-pass-shader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions strahl-lib/src/shaders/tracer-shader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 00c4537

Please sign in to comment.