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

consider add {transparent: true} for new MeshBasicMaterial() in AfterimagePass.js #29521

Closed
TamagawaJousui opened this issue Sep 28, 2024 · 0 comments · Fixed by #29691
Closed
Milestone

Comments

@TamagawaJousui
Copy link

TamagawaJousui commented Sep 28, 2024

Description

this.copyFsMaterial = new MeshBasicMaterial();
this.copyFsQuad = new FullScreenQuad( this.copyFsMaterial );

These lines in AfterimagePass.js which lately render to screen or writeBuffer, doesn't support transparent background.

This will cause the background of the canvas to be black, changing it to new MeshBasicMaterial({transparent: true}) will solve this problem

Live examples will be added laterly.

Reproduction steps

Code

// code goes here

Live example

Screenshots

No response

Version

r168

Device

Desktop

Browser

Chrome

OS

MacOS

@TamagawaJousui TamagawaJousui changed the title add {transparent: true} for new MeshBasicMaterial() in AfterimagePass.js consider add {transparent: true} for new MeshBasicMaterial() in AfterimagePass.js Sep 28, 2024
@Mugen87 Mugen87 added this to the r170 milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants