Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

three-gpu-pathtracer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-gpu-pathtracer - npm Package Versions

23

0.0.23

Diff

Changelog

Source

[0.0.23] - 2024.06.07

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.
gkjohnson
published 0.0.22 •

Changelog

Source

[0.0.22] - 2024.05.03

Fixed

  • Non visible meshes not being hidden when path traced.
gkjohnson
published 0.0.21 •

Changelog

Source

[0.0.21] - 2024.04.29

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.
gkjohnson
published 0.0.20 •

Changelog

Source

[0.0.20] - 2024.02.21

Fixed

  • Adjust peer dependency semver for three-mesh-bvh.
gkjohnson
published 0.0.19 •

Changelog

Source

[0.0.19] - 2024.02.20

Fixed

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

Changelog

Source

[0.0.18] - 2024.02.20

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
gkjohnson
published 0.0.17 •

Changelog

Source

[0.0.17] - 2024.01.18

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.
gkjohnson
published 0.0.16 •

Changelog

Source

[0.0.16] - 2023-07-21

Fixed

  • Reverted change that caused NaN values on some hardware.
gkjohnson
published 0.0.15 •

Changelog

Source

[0.0.15] - 2023-05-20

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.
gkjohnson
published 0.0.14 •

Changelog

Source

[0.0.14] - 2023-03-05

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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc