Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/renderers/webgpu/utils/WebGPUPipelineUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class WebGPUPipelineUtils {

let blending;

if ( material.transparent === true && material.blending !== NoBlending ) {
if ( material.blending !== NoBlending && ( material.blending !== NormalBlending || material.transparent === true ) ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rkreis-v @sunag @Mugen87

As I mentioned in the discussion, to replicate the WebGLRenderer logic exactly, I think it should be:

if ( material.blending !== NoBlending && ( material.blending !== NormalBlending || material.transparent !== false ) ) {

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated: 4e3db42


blending = this._getBlending( material );

Expand Down