-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGPURenderer: Introduce RenderTarget3D and RenderTargetArray #30155
WebGPURenderer: Introduce RenderTarget3D and RenderTargetArray #30155
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
…ix clear in webgpubackend
Maybe |
It seems this PR has introduced a regression: #30283 Rolling back right before the merge restores the shadows in |
Oh, probably related to the update I did on |
I can check later this week, my bad on this one! The issue is only on the WebGPU Backend so puppeteer didn't catch this one. |
Description
Introduce support for 3D textures and texture arrays in multi-render target (MRT) setups for both WebGPU and WebGL backends.
Unlike WebGLRenderer I used suffix instead of prefix (
WebGLArrayRenderTarget
->RenderTargetArray
) as a3DRenderTarget
felt wrong.Made a example while working on it that displays 4 meshes:
Each slice of both RenderTarget is incremented and rendered every 50ms.
This contribution is funded by Utsubo