Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: Multiple renderer setup with FX produces warnings. #29825

Open
didibr opened this issue Nov 6, 2024 · 1 comment
Open

WebGPURenderer: Multiple renderer setup with FX produces warnings. #29825

didibr opened this issue Nov 6, 2024 · 1 comment
Labels

Comments

@didibr
Copy link

didibr commented Nov 6, 2024

Description

I’m trying to create 2 different scenes with 2 different webgpus and 2 different postprocess, they give an error when using postprocess.

Reproduction steps

  1. create a class to create a webgpu scene
  2. use this class and create 2 webgpu
  3. when use postProcess, three fails

Code

//If disabling postprocess with normal render works on 'update()'
   //project.postProcessRender.renderAsync(project.scene, project.camera);
    //default render
    project.renderer.renderAsync(project.scene, project.camera);

//or if enable only one webview work too
//create a project WebGPU2
var project2=new Project();
var element2=document.getElementById('div2');
//project2.init(element2);

Live example

With double and Postproces - fail
With double and not Postprocess - works
With one and Postprocess- works

Screenshots

image

Version

r170

Device

Desktop

Browser

Chrome

OS

Windows

@Mugen87 Mugen87 added the WebGPU label Nov 6, 2024
@Mugen87 Mugen87 changed the title 2 diferent webGPU and postprocess on same page Fail WebGPURenderer: Multiple renderer setup with FX produces warnings. Nov 6, 2024
@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 6, 2024

Here is a simplified test case without MRT and Bloom: https://jsfiddle.net/6zLm8nga/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants