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

scenePass.setMRT and PostProcessing slicing error is BUG ? #30630

Open
WREQI opened this issue Feb 28, 2025 · 2 comments
Open

scenePass.setMRT and PostProcessing slicing error is BUG ? #30630

WREQI opened this issue Feb 28, 2025 · 2 comments

Comments

@WREQI
Copy link

WREQI commented Feb 28, 2025

Description

cutting effect

Image

The cutting effect disappears
Image

Reproduction steps

  1. open online demo
  2. Annotate setMRT code comments
  3. The cutting effect disappears

Code

// code goes here

Live example

https://jsfiddle.net/a8yomfz3/42/

Screenshots

No response

Version

174

Device

No response

Browser

No response

OS

No response

@Mugen87
Copy link
Collaborator

Mugen87 commented Feb 28, 2025

Is that the result you are looking for? https://jsfiddle.net/sem1ryva/1/

You have copied code from https://threejs.org/examples/webgpu_tsl_angular_slicing which is unfortunately not compatible to MRT since the slice material sets a custom output node. I think the same result can be achieved by setting colorNode instead.

@Mugen87
Copy link
Collaborator

Mugen87 commented Feb 28, 2025

@sunag Is the original demo of the OP the expected result? Meaning should the MRT setting be ignored with custom output nodes?

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

No branches or pull requests

2 participants