three-gpu-pathtracer
three-gpu-pathtracer copied to clipboard
Cast Shadows Flag: MIS sampling needs to determine the shadow ray from the env sample direction rather than new sample
Related to #274
See here: https://github.com/gkjohnson/three-gpu-pathtracer/blob/1bb778bc79669918e8b40bc80cd32b1a6e7dad0d/src/materials/PhysicalPathTracingMaterial.js#L891-L902
Maybe it makes sense to be able to determine the specular PDF without getting the full set of material properties.