Skip to content

WebGPUPathTracer: Use custom float texture filter#750

Draft
gkjohnson wants to merge 12 commits intowebgpu-pathtracerfrom
webgpu/mobile-2
Draft

WebGPUPathTracer: Use custom float texture filter#750
gkjohnson wants to merge 12 commits intowebgpu-pathtracerfrom
webgpu/mobile-2

Conversation

@gkjohnson
Copy link
Copy Markdown
Owner

@gkjohnson gkjohnson commented Mar 11, 2026

Relies on #748
Replaces #749

  • Add an ssl option to the start command to allow for testing on mobile (WebGPU requires https) - run npm start -- --mode=ssl --host
  • Adjust the ProceduralEquirectTexture to use HalfFloatType to guarantee its filterable.
  • Add custom linear filtering when rendering to the screen
  • Switch the render target 2d array to use MeshBasicMaterial rather than render to screen material

There seem to be some issues in three.js regarding setting float textures to unfilterable so in practice this won't work on mobile until this is fixed: mrdoob/three.js#33147

cc @TheBlek

@gkjohnson gkjohnson added this to the v0.0.25 milestone Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant