# Broken effect with postprocessing

**URL:** <https://discourse.threejs.org/t/broken-effect-with-postprocessing/35480>\
**Category:** Questions\
**Tags:** post-processing\
**Created:** [March 2, 2022, 1:37pm UTC](https://discourse.threejs.org/t/broken-effect-with-postprocessing/35480 "2022-03-02T13:37:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samposoft](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/samposoft/32/24625_2.png) [@samposoft](https://discourse.threejs.org/u/samposoft)\
**Post date:** [March 2, 2022, 1:37pm UTC](https://discourse.threejs.org/t/broken-effect-with-postprocessing/35480/1 "2022-03-02T13:37:40Z")

</div>

Hi, when I use postporcessing gltf object display broken.  
Any solutions? In old version of threejs 134.0 I have no error but in threejs from 136.0 to 138.2 display incorrectly.  
I have removed gamma and fxaa pass with no effect.

 ![error](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/6/4/64058c93adf904a24a54ba65be3a9718f8e5723a.jpeg)

````javascript
const renderPass = new RenderPass(this.scene, this.camera);
const composer = new EffectComposer(this.renderer);
const gammaPass = new ShaderPass(GammaCorrectionShader);

const fxaaPass = new ShaderPass(FXAAShader);
fxaaPass.uniforms.resolution.value.x = 1 / (this.width * this.pixelRatio);
fxaaPass.uniforms.resolution.value.y = 1 / (this.height * this.pixelRatio);

composer.addPass(renderPass);
composer.addPass(gammaPass);
composer.addPass(fxaaPass);```
````

---

<div class="post-metadata">

**Author:** ![samposoft](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/samposoft/32/24625_2.png) [@samposoft](https://discourse.threejs.org/u/samposoft)\
**Post date:** [March 2, 2022, 11:23pm UTC](https://discourse.threejs.org/t/broken-effect-with-postprocessing/35480/2 "2022-03-02T23:23:33Z")

</div>

I have solved, problem is camera near/far settings.
