Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.
CompatibilityDetector
to determine whether the path tracer can run on the target platform.DEBUG_MODE
define to PhysicalPathTracingMaterial to render out ray depth.GradientMapMaterial
to map texture values to a color ramp.ShapedAreaLight
, PhysicalCamera
, and PhysicalSpotLight
.TRANSPARENT_TRAVERSALS
define to transmissiveBounces
uniform.transmissiveBounces
uniform.FEATURE_RUSSIAN_ROULETTE
flag.