Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

RayTracingMaterial

Lucas Crane edited this page Aug 14, 2019 · 1 revision

Extends MeshStandardMaterial. This class adds extra control over transparent materials and allows for a shadow catcher effect.

Constructor

RayTracingMaterial ( parameters : Object )

Properties

.shadowCatcher : Boolean

If set to true, ignore the color property and instead use the color of the background environment light. Used to blend other meshes into the background environment. Default is false.

.solid : Boolean

Used when the transparent property is set to true.

  • false: Light is reflected but not refracted.
  • true: Light is both reflected and refracted.

Default is false.