# How do I make depth-of-field resolution-independent? (see screenshots)

**URL:** <https://forum.babylonjs.com/t/how-do-i-make-depth-of-field-resolution-independent-see-screenshots/48331>\
**Category:** Questions\
**Tags:** postprocessing\
**Created:** [February 27, 2024, 4:14pm UTC](https://forum.babylonjs.com/t/how-do-i-make-depth-of-field-resolution-independent-see-screenshots/48331 "2024-02-27T16:14:14Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [March 3, 2024, 3:12pm UTC](https://forum.babylonjs.com/t/how-do-i-make-depth-of-field-resolution-independent-see-screenshots/48331/10 "2024-03-03T15:12:28Z")

</div>

If you can, you could try to implement another algorithm that would fix the problems identified in:

- fix bleeding: [Close blurred object has sharp edge on focused second object - #10 by sebavan](https://forum.babylonjs.com/t/close-blurred-object-has-sharp-edge-on-focused-second-object/40683/10)
- make effect resolution independent: [How do I make depth-of-field resolution-independent? (see screenshots) - #2 by Evgeni\_Popov](https://forum.babylonjs.com/t/how-do-i-make-depth-of-field-resolution-independent-see-screenshots/48331/2)

It would require a bit of research to find a suitable algorithm, and then to implement it, though.

---

_[View the full topic](https://forum.babylonjs.com/t/how-do-i-make-depth-of-field-resolution-independent-see-screenshots/48331)._
