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

Different color with/without postprocessing on example #26320

Closed
CesarVonc opened this issue Jun 23, 2023 · 1 comment · Fixed by #26321
Closed

Different color with/without postprocessing on example #26320

CesarVonc opened this issue Jun 23, 2023 · 1 comment · Fixed by #26321
Labels

Comments

@CesarVonc
Copy link

Description

The Postprocessing Afterimage example shows different color of the cube when we enable/disable the postprocessing effect :
https://threejs.org/examples/?q=postprocess#webgl_postprocessing_afterimage

The render is brighter when the effect is enabled.

Reproduction steps

  1. Open https://threejs.org/examples/?q=postprocess#webgl_postprocessing_afterimage
  2. Set Value to 0
  3. See render
  4. Disable the effect
  5. The render color is different

Code

// code goes here

Live example

Screenshots

Sans titre

Version

r153

Device

Desktop

Browser

Chrome

OS

Windows

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 23, 2023

The usage of MeshNormalMaterial is a bit confusing in this context since it uses no inline sRGB output conversion. However, when applying color space conversion via post-processing, the entire image is honored.

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

Successfully merging a pull request may close this issue.

2 participants