Skip to content

Commit

Permalink
Renderer: Fix viewport configuration of ArrayCamera. (#30298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jan 9, 2025
1 parent 7e300eb commit 60e27ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/renderers/common/Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2622,6 +2622,7 @@ class Renderer {
viewportValue.copy( vp ).multiplyScalar( this._pixelRatio ).floor();
viewportValue.minDepth = minDepth;
viewportValue.maxDepth = maxDepth;
this._currentRenderContext.viewport = true;

this.backend.updateViewport( this._currentRenderContext );

Expand Down
1 change: 0 additions & 1 deletion test/e2e/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ const exceptionList = [

// WebGPURenderer: Unknown problem
'webgpu_backdrop_water',
'webgpu_camera_array',
'webgpu_camera_logarithmicdepthbuffer',
'webgpu_clipping',
'webgpu_lightprobe_cubecamera',
Expand Down

0 comments on commit 60e27ac

Please sign in to comment.