WebGPU: add LightProbeGrid example#33670
Conversation
|
@sunag @Mugen87 Could you help me? |
b2e64cb to
0b184e9
Compare
|
@sunag @Mugen87 @mrdoob Isolation results: So source is mesh edge rasterization / MSAA coverage between WebGLBackend and WebGPUBackend. Bright high-contrast geometry edges differ slightly. That is why JPEGs differ by ~0.2-0.3%, even though visually same. I'll try to disable MSAA for now to get the tests passing. |
|
@sunag I’ve just updated |
I’m taking the screenshot directly from the zip that the E2E testing is generating internally in a more private way (as colaborator), because the Windows screenshots I’ve been taking recently have been failing by minimal percentages. |
|
Closing for now. We make a fresh PR when #33658 is done. |
Summary
This PR adds WebGPU light probe grid support and expands the examples to cover single-volume, multi-volume, and Sponza scenes. The WebGPU path remains separate from the existing WebGL
LightProbeGridaddon.Included
webgpu_lightprobes.htmlwebgpu_lightprobes_complex.htmlwebgpu_lightprobes_sponza.htmlexamples/files.jsonLightProbeGridGPU.jsso probe grids can be added to the scene and baked directlyNotes
scene.add( probes )andawait probes.bake( renderer, scene, options )Demo