# Very thin lines look jagged, antialiasing not working

**URL:** <https://discourse.threejs.org/t/very-thin-lines-look-jagged-antialiasing-not-working/6973>\
**Category:** Questions\
**Tags:** antialias, antialiasing\
**Created:** [April 8, 2019, 4:46pm UTC](https://discourse.threejs.org/t/very-thin-lines-look-jagged-antialiasing-not-working/6973 "2019-04-08T16:46:04Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![balvarez](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/balvarez/32/4369_2.png) [@balvarez](https://discourse.threejs.org/u/balvarez)\
**Post date:** [April 9, 2019, 7:20pm UTC](https://discourse.threejs.org/t/very-thin-lines-look-jagged-antialiasing-not-working/6973/19 "2019-04-09T19:20:30Z")

</div>

So, after playing with my old version of the code, seems like the one that is giving the issue is the `postprocessing`, since when I remove the line `renderer.autoClear = false;` the postprocessing doesnt take place and the lines look pretty smoooth.

![Screenshot%20from%202019-04-09%2021-19-14](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/a/a90b874db002a2fe226da7e658983cf6ef6ef44b.png)

I have discarded the `UnrealBloomPass` from the problem, which leads me to the `THREE.BokehShader`, I followed the [online example](https://threejs.org/examples/?q=webgl_postprocessing_dof2#webgl_postprocessing_dof2). I have added GUI to my local version of the website but there seems to be no way for me to make the edges of any line smooth with this type of porstprocessing, even when they are focused and I remove all blur…

---

_[View the full topic](https://discourse.threejs.org/t/very-thin-lines-look-jagged-antialiasing-not-working/6973)._
