Skip to content

Commit

Permalink
WebGPURenderer: update viewport node on RENDER (mrdoob#28370)
Browse files Browse the repository at this point in the history
* viewport update on render

* update screenshot

* update screenshot

* omit from tests for now

---------

Co-authored-by: aardgoose <angus.sawyer@email.com>
  • Loading branch information
aardgoose and aardgoose committed May 14, 2024
1 parent 0f4df91 commit d7d82ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/nodes/display/ViewportNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ViewportNode extends Node {

if ( this.scope === ViewportNode.RESOLUTION || this.scope === ViewportNode.VIEWPORT ) {

updateType = NodeUpdateType.FRAME;
updateType = NodeUpdateType.RENDER;

}

Expand Down
Binary file modified examples/screenshots/webgpu_instance_points.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/screenshots/webgpu_lines_fat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions test/e2e/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ const exceptionList = [
'webgpu_backdrop_water',
'webgpu_camera_logarithmicdepthbuffer',
'webgpu_clipping',
'webgpu_instance_points',
'webgpu_loader_materialx',
'webgpu_materials_displacementmap',
'webgpu_materials_video',
Expand Down

0 comments on commit d7d82ed

Please sign in to comment.