I was using v0.110.0 earlier where I was using GammaFactor but I think in latest version is been deprecated.
I am using React with Threejs.
Here is the SandBox : Post Processing test - CodeSandbox
I am trying to use Temporal Anti-Aliasing(TAA) for anti-aliasing
const taaRenderPass = new TAARenderPass(scene, camera); taaRenderPass.unbiased = true; taaRenderPass.sampleLevel = 4; composer.addPass(taaRenderPass);
I know I am using too high sampleLevel but its not just with this its happening with any shader/renderPass the scene get Darker.
I had set
alpha:true otherwise using TAA make scene black. I think is due to SSAA, it has some
clearAlpha option to get rid of this black background.
To Fix this I used GammaCorrectionShader as
const gammaCorrection = new ShaderPass(GammaCorrectionShader); composer.addPass(gammaCorrection);
which helps but I am getting these band of colors as shown below
Increasing the Ambient light surely remove this issue … in most cases I wolud use HDR for Lighting .
I am not sure why this is Happening and I am new to Threejs post porcessing .
Any post or explaination would be helpful .