-
-
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: Support to .backgroundNode
#24213
Conversation
/ping @mrdoob |
Looking good! |
Hmm... I will remove the |
@@ -41,6 +46,38 @@ class WebGPUBackground { | |||
_clearAlpha = 1; | |||
forceClear = true; | |||
|
|||
} else if ( background.isNode === true ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we actually create BackgroundNode
, which will do this (at least creating a mesh and aligning it to the camera) by itself? I think it will allow to more easily implement in the future the Background
suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds interesting...
* beautify matrix columns * add support to .onBeforeRender() * add support to .backgroundNode * add .backgroundNode to examples * cleanup * cleanup * remove brightness, rename contrast to intensity * fix get empty image[0]
* beautify matrix columns * add support to .onBeforeRender() * add support to .backgroundNode * add .backgroundNode to examples * cleanup * cleanup * remove brightness, rename contrast to intensity * fix get empty image[0]
Live
https://raw.githack.com/sunag/three.js/dev-backgroundNode/examples/webgpu_cubemap_adjustments.html
webgpu_cubemap_adjustments.mp4
WebGPURenderer
WebGPU Examples
This contribution is funded by Google via Igalia