-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Description
Description
The default background color of WebGLRenderer
is black.
The default background color of WebGPURenderer
is white.
It will improve the consistency if both renderers have the same default background colors.
Reproduction steps
- Create a WebGL renderer, a scene, a camera and render the scene. The background color is black.
- Create a WebGPU renderer, a scene, a camera and renderasync the scene. The background is white.
Code
(See the live examples for code)
Live example
Screenshots
WebGL black background (the canvas has red border):
WebGPU white background (the canvas has red border):
Version
r165
Device
Desktop
Browser
Chrome, Firefox
OS
Windows