Skip to content

Releases: gkjohnson/three-gpu-pathtracer

v0.0.3

23 May 02:24
Compare
Choose a tag to compare

image

M2020 Rover model courtesy of NASA JPL

Fixed

  • Some black artifacts when rendering with depth of field.
  • DynamicPathTracingSceneGenerator.reset not correctly resetting the class resulting in errors when calling "generate" again.

Changed

  • Materials to use a texture instead of uniforms to cut down on max uniform errors.
  • SUPPORT_DOF no longer needs to be explicitly set and will be toggled automatically based on the bokeh size parameter.
  • Removed direct support for environment blur with addition of MIS. Instead use BlurredEnvMapGenerator to preblur an environment map.
  • Antialiasing jitter is now performed per ray in the shader instead of via camera position jitter for improved AA.
  • GRADIENT_BG define option to FEATURE_GRADIENT_BG

Added

  • Support for "matte" material flag.
  • Support for Multiple Importance Sampling for the envionment map and an associated "FEATURE_MIS" flag.
  • BlurredEnvMapGenerator to blur environment maps.
  • Support for rendering transparent backgrounds.

Removed

  • Support for gradient environment colors. Use a DataTexture, instead.

New Demo Features

  • Physically Based Models & Material Ball demos
    • Add support for toggling multiple importance sampling.
    • Use EnvMapGenerator to blur the environment maps.
    • Add support for setting background alpha.
    • Add new environment map options.
    • Add floor opacity slider.
    • Add support for "matte" materials rendering as transparent.

v0.0.2

26 Apr 23:35
Compare
Choose a tag to compare

image

Added

  • Support for material sidedness which must be set explicitly on the material uniforms. See MaterialStructUniform.side for more information.
  • DynamicPathTracingSceneGenerator to support skinned and morph target meshes.
  • A PhysicalCamera instance and associated shader uniforms and updates to support camera depth of field and shaped bokeh.
  • PathTracingSceneWorker as separate from the synchronous PathTracingSceneGenerator to support more build processes.
  • Support for morph target, skinned meshes to scene generators.

Changed

  • PhysicalPathTracingMaterial to have a "bounces" uniform rather than define.
  • PathTracingSceneGenerator is now synchronous.

Fixed

  • Case where material arrays did not work correctly.

Examples Added

Interior Scene

Depth of Field

Skinned Geometry Support

Morph Target Support

v0.0.1

09 Apr 00:18
37ae3f0
Compare
Choose a tag to compare

Initial release with support for path tracing physically based materials with properties including metalness, transmission, roughness, opacity, alpha cutout, and more!