Skip to content

v0.9.11

Choose a tag to compare

@gkjohnson gkjohnson released this 10 Jul 02:14

Added

  • WebGPURenderer : Added BVHComputeData class for packing multi-object BVH scene data into GPU storage buffers for use in WebGPU compute shaders via the TSL node system.

Changed

  • WebGPURenderer: Deprecated the wgslFn/wgsl-based TSL node exports. These do not work correctly on most platforms due to WGSL restrictions on passing storage buffer pointers across function call boundaries. Use BVHComputeData instead.
  • BVH: Rename "maxLeafSize" to "targetLeafSize" to better reflect the option behavior.

Fixed

  • Case where ObjectBVH would return an incorrect raycast hit with firstHitOnly.
  • LineBVH, PointsBVH, SkinnedMeshBVH: Improved bounds traversal logic for firstHitOnly case.