Skip to content

Commit

Permalink
Fix bad merge.
Browse files Browse the repository at this point in the history
(cherry picked from commit aaf3778)
  • Loading branch information
bernardkwok committed Aug 8, 2019
1 parent 1c41f74 commit b3c1fe4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/pbrlib/genosl/mx_roughness_dual.osl
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
void mx_roughness_dual(vector2 roughness, output vector2 result)
{
if (roughness.y < 0.0)
{
roughness.y = roughness.x;
}
result.x = clamp(roughness.x * roughness.x, M_FLOAT_EPS, 1.0);
if (roughness.y < 0.0)
{
Expand Down

0 comments on commit b3c1fe4

Please sign in to comment.