Skip to content

Commit

Permalink
WebGPURenderer: Fix Shadows PBR (#30307)
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger authored Jan 11, 2025
1 parent 65d4034 commit 292c046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgpu/WebGPUBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ class WebGPUBackend extends Backend {

if ( color ) {

const descriptor = this._getRenderPassDescriptor( renderTargetContext, { loadOp: GPULoadOp.Clear } );
const descriptor = this._getRenderPassDescriptor( renderTargetContext, { loadOp: GPULoadOp.Clear, clearValue } );

colorAttachments = descriptor.colorAttachments;

Expand Down

0 comments on commit 292c046

Please sign in to comment.