Skip to content

Commit

Permalink
Merge to adoc the change from PR #2022
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Sep 13, 2021
1 parent 45b308e commit acae5a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions specification/2.0/Specification.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2907,10 +2907,9 @@ Taking advantage of the fact that `roughness` is shared between metal and dielec

[source,c]
----
const dielectricSpecular = 0.04
const black = 0
c_diff = lerp(baseColor.rgb * (1 - dielectricSpecular), black, metallic)
c_diff = lerp(baseColor.rgb, black, metallic)
f0 = lerp(0.04, baseColor.rgb, metallic)
α = roughness^2
Expand Down

0 comments on commit acae5a1

Please sign in to comment.