Skip to content

Commit

Permalink
Improve inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
WestLangley committed Feb 27, 2020
1 parent 501029b commit a03fdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/webgl_materials_physical_transparency.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
envMap: hdrCubeRenderTarget.texture,
envMapIntensity: params.envMapIntensity,
depthWrite: false,
opacity: 1, // set to 1 when transparency is non-zero
transparency: params.transparency,
transparency: params.transparency, // use material.transparency for glass materials
opacity: 1, // set material.opacity to 1 when material.transparency is non-zero
transparent: true
} );

Expand Down

0 comments on commit a03fdbe

Please sign in to comment.