You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder how to change the background color from black to white. I try to change the metalKitView.clearColor, but it does not work. When I change the renderer.clearColor to white, all the window becomes white and no item is shown on the screen.
What's more, For the SplatCloud.swift, if we change
descriptor.colorAttachments[0].sourceRGBBlendFactor = .oneMinusDestinationAlpha
descriptor.colorAttachments[0].sourceAlphaBlendFactor = .oneMinusDestinationAlpha
descriptor.colorAttachments[0].destinationRGBBlendFactor = .one
descriptor.colorAttachments[0].destinationAlphaBlendFactor = .one
to
descriptor.colorAttachments[0].sourceRGBBlendFactor = .one
descriptor.colorAttachments[0].destinationRGBBlendFactor = .oneMinusSourceAlpha
descriptor.colorAttachments[0].sourceAlphaBlendFactor = .one
descriptor.colorAttachments[0].destinationAlphaBlendFactor = .oneMinusSourceAlpha
The background color can become white but the gesture to change the camera will be the opposite, and the view to look at the object will become wrong.
I wonder if there is a correct way to change the background color.
The text was updated successfully, but these errors were encountered:
I wonder how to change the background color from black to white. I try to change the metalKitView.clearColor, but it does not work. When I change the renderer.clearColor to white, all the window becomes white and no item is shown on the screen.
What's more, For the SplatCloud.swift, if we change
descriptor.colorAttachments[0].sourceRGBBlendFactor = .oneMinusDestinationAlpha
descriptor.colorAttachments[0].sourceAlphaBlendFactor = .oneMinusDestinationAlpha
descriptor.colorAttachments[0].destinationRGBBlendFactor = .one
descriptor.colorAttachments[0].destinationAlphaBlendFactor = .one
to
descriptor.colorAttachments[0].sourceRGBBlendFactor = .one
descriptor.colorAttachments[0].destinationRGBBlendFactor = .oneMinusSourceAlpha
descriptor.colorAttachments[0].sourceAlphaBlendFactor = .one
descriptor.colorAttachments[0].destinationAlphaBlendFactor = .oneMinusSourceAlpha
The background color can become white but the gesture to change the camera will be the opposite, and the view to look at the object will become wrong.
I wonder if there is a correct way to change the background color.
The text was updated successfully, but these errors were encountered: