Skip to content

Releases: gkjohnson/three-gpu-pathtracer

v0.0.23

07 Jun 03:23
Compare
Choose a tag to compare

Added

  • Support for CubeTexture environments and backgrounds.
  • Material is compiled asynchronously to avoid blocking the browser. No rendering will occur until the material is ready.

Fixed

  • Corner case where marking a mesh as non-visible would not remove the geometry.
  • Meshes not updating when replacing the geometry with a new one.

v0.0.22

03 May 05:14
Compare
Choose a tag to compare

Fixed

  • Non visible meshes not being hidden when path traced.

v0.0.21

29 Apr 07:06
Compare
Choose a tag to compare

Fixed

  • Reverted transmission BRDF function changes resulting in black artifacts.

Added

  • WebGLPathTracer class for more easily intializing a path tracer.
  • Typescript definitions.

Changed

  • PathTracingRenderer, DynamicPathTracingSceneGenerator, and more classes have been deprecated in favor of WebGLPathTracer. See new README for API.
  • Remove IESLoader in favor of three.js' version.

v0.0.20

23 Feb 04:41
Compare
Choose a tag to compare

Fixed

  • Adjust peer dependency semver for three-mesh-bvh.

v0.0.19

20 Feb 13:27
Compare
Choose a tag to compare

Fixed

  • Ensure materials texture is never a degenerate dimension.
  • Handle completely black environment maps so they do not corrupt the image.

v0.0.18

20 Feb 10:43
Compare
Choose a tag to compare

Fixed

  • Transparent textures no longer have the color incorrectly premultiplied by the alpha.
  • Fix rounding error issue in tiled rendering logic causing some columns and rows of pixels to not be rendered to.
  • Improve hdr map info to be able to handle any texture type.
  • Path tracing scene generators no longer crash when an empty scene is provided.
  • Native three.js spot light not working correctly.
  • Env map clamping which was causing an incorrect circle of color to display at the poles.

Added

  • Support for stratified sampling in addition to PCG and Sobol under the RANDOM_TYPE flag.

Changed

  • Rendering objects with negative scales now requires three-mesh-bvh v0.7.2

v0.0.17

18 Jan 10:09
Compare
Choose a tag to compare

Added

  • Support for rendering geometry with inverted scales.

Changed

  • Upgrade to three-mesh-bvh v0.7.0.
  • AreaLights no longer render the light surface.
  • Disabled sobol sampling functionality related to MacOS crashes. It can be re-enabled with the FEATURE_SOBOL define flag.

Fixed

  • Models with a negative scale not rendering correctly.
  • Renderer crashing on MacOS devices.
  • Renderer crashing on Android devices.
  • Rendering not working at all on iOS devices due to lacking support for linearly interpolated Float32 textures.

v0.0.16

21 Jul 03:06
Compare
Choose a tag to compare

Fixed

  • Reverted change that caused NaN values on some hardware.

v0.0.15

20 May 11:34
Compare
Choose a tag to compare

Fixed

  • Missing file extension.

Added

  • 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.
  • Support for copy function to ShapedAreaLight, PhysicalCamera, and PhysicalSpotLight.

Changed

  • Fog hits no longer count as transparent surface bounces.
  • Remove precision workaround for Equirect map.
  • Significant refactoring to make more effective use of structs.

v0.0.14

05 Mar 03:27
Compare
Choose a tag to compare

image

Added

  • Support for volumetric fog material.
  • Disable sampling of the environment map if env intensity is set to 0.0 to improve direct light sampling rate.

Changed

  • Base color is now applied both on the way in and out of a transmissive material.
  • Improved performance of env map CDF processing.

Fixed

  • Area light shapes now consistently cast shadows in MIS and non MIS mode

New Demo Features