Skip to content

Commit

Permalink
ShaderChunk: Fixed overblown color in transmission_fragment (#22125)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob authored Jul 13, 2021
1 parent 59230b6 commit 5804c24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default /* glsl */`
float ior = ( 1.0 + 0.4 * reflectivity ) / ( 1.0 - 0.4 * reflectivity );
vec3 transmission = transmissionFactor * getIBLVolumeRefraction(
normal, v, roughnessFactor, material.diffuseColor, totalSpecular,
normal, v, roughnessFactor, material.diffuseColor, material.specularColor,
pos, modelMatrix, viewMatrix, projectionMatrix, ior, thicknessFactor,
attenuationColor, attenuationDistance );
Expand Down

0 comments on commit 5804c24

Please sign in to comment.