Skip to content

Commit

Permalink
Added brighness parameter to IBL setup
Browse files Browse the repository at this point in the history
  • Loading branch information
drcynic committed Mar 7, 2018
1 parent 5c0ce2a commit 90aee34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Core/Rendering/Material.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public interface IPbrImageBasedLightingSetup
Matrix DiffuseR { get; }
Matrix DiffuseG { get; }
Matrix DiffuseB { get; }
float Brightness { get; }
}

public struct DefaultPbrImageBasedLightingSetup : IPbrImageBasedLightingSetup
Expand All @@ -84,5 +85,6 @@ public struct DefaultPbrImageBasedLightingSetup : IPbrImageBasedLightingSetup
public Matrix DiffuseR => Matrix.Identity;
public Matrix DiffuseG => Matrix.Identity;
public Matrix DiffuseB => Matrix.Identity;
public float Brightness => 1.0f;
}
}
2 changes: 1 addition & 1 deletion Operators

0 comments on commit 90aee34

Please sign in to comment.