You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.