# Volumetric LightScattering post-process not work latest

**URL:** <https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790>\
**Category:** Bugs\
**Created:** [July 28, 2019, 6:09pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790 "2019-07-28T18:09:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [July 28, 2019, 6:09pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/1 "2019-07-28T18:09:39Z")

</div>

Hi. VolumetricLightScatteringPostProcess is not working in latest, all good in stable.

stable - [https://playground.babylonjs.com/indexStable.html#U5SSCN#22](https://playground.babylonjs.com/indexStable.html#U5SSCN#22)  
latest - [https://playground.babylonjs.com/#U5SSCN#22](https://playground.babylonjs.com/#U5SSCN#22)  
Thank you 🍻

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 29, 2019, 4:09pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/2 "2019-07-29T16:09:02Z")

</div>

Pinging @julien-moreau

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [July 29, 2019, 4:24pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/3 "2019-07-29T16:24:01Z")

</div>

Thanks for reporting, I’m having a look ASAP

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 29, 2019, 4:29pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/4 "2019-07-29T16:29:51Z")

</div>

You rock @julien-moreau

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [July 29, 2019, 6:14pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/5 "2019-07-29T18:14:04Z")

</div>

@MarianG pull request created! [Fixed VolumetricLightScattering post-process to use a custom vertex s… by julien-moreau · Pull Request #6640 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/6640)

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [July 29, 2019, 6:18pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/6 "2019-07-29T18:18:49Z")

</div>

Great, thank you!  
I’m waiting for it 😋

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/wingnut/32/53_2.png) [@Wingnut](https://forum.babylonjs.com/u/Wingnut)\
**Post date:** [July 29, 2019, 8:12pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/7 "2019-07-29T20:12:08Z")

</div>

Nice find, MG. Nice fix, JM. Thx guys!

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [July 30, 2019, 8:23pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/8 "2019-07-30T20:23:14Z")

</div>

Hi @julien-moreau. All good, but from time to time I’m getting this error in the console.  
With es6 module is happen each time when I’m creating the effect.  
It seems it doesn’t affect the scene, only in the console it apear.  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/91bf2bf346b3db6329a8fec076325aceae4fac82.png)

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [July 30, 2019, 8:30pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/9 "2019-07-30T20:30:29Z")

</div>

One more 🙂  
It looks like this is not working with inspector

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/5/5a29e55f688c6aaef18f1b4e0f0233e0d05e1aae.png)  
You can reproduce it in the pg, simple enable the inspector and try to click on posprocess tab.  
Cheers!

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 31, 2019, 3:11pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/10 "2019-07-31T15:11:58Z")

</div>

This one will be fixed by next nightly

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 31, 2019, 3:12pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/11 "2019-07-31T15:12:46Z")

</div>

Will fix that as well 😉

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [July 31, 2019, 9:19pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/12 "2019-07-31T21:19:09Z")

</div>

Omg sorry @Deltakosh i forgot to update the config file to include the new .fx file in the build =O

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 31, 2019, 10:03pm UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/13 "2019-07-31T22:03:40Z")

</div>

No problem my friend

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [August 4, 2019, 9:44am UTC](https://forum.babylonjs.com/t/volumetric-lightscattering-post-process-not-work-latest/4790/14 "2019-08-04T09:44:42Z")

</div>

Excelent work!  
Everything is fine now 💪  
Thank you
