three-gpu-pathtracer icon indicating copy to clipboard operation
three-gpu-pathtracer copied to clipboard

Add support for absorption, attenuation in transmissive objects

Open gkjohnson opened this issue 2 years ago • 0 comments

  • attenuation / absorption
  • subsurface scattering
  • can be used for fog?
  • variable density fog / volumes?
    • 3d textures
    • ray marching

See

  • https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_volume/README.md
  • https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_transmission/README.md
  • https://github.com/KhronosGroup/glTF/pull/1825

Requires use of MeshPhysicalMaterial.attenuationColor and attenuationDistance

gkjohnson avatar Apr 02 '22 16:04 gkjohnson