-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
scalar: manually set background to transparent #5567
Conversation
@@ -289,6 +289,8 @@ export class ThreeRenderer implements ObjectRenderer<CacheValue> { | |||
alpha: true, | |||
} as WebGLContextAttributes) as WebGLRenderingContext, | |||
}); | |||
// Workaround to fix background transparency is not set propoerly in threejs WebGLRenderer. |
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.
Which property was supposed to make the background transparent? Is it the "alpha: true"? Can you mention that?
@@ -289,6 +289,8 @@ export class ThreeRenderer implements ObjectRenderer<CacheValue> { | |||
alpha: true, | |||
} as WebGLContextAttributes) as WebGLRenderingContext, | |||
}); | |||
// Workaround to fix background transparency is not set propoerly in threejs WebGLRenderer. |
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.
Nite: propoerly => properly.
From the reply of three.js developers. mrdoob/three.js#23495 Also remove |
The background of charts in scalar card have black backgrounds. It is because of the threejs upgrades 420916a. Before we find a long-term solution, we can set the background opacity to zero as the temporary fix
before

after
