Here's a PG of the shader:
https://www.babylonjs-playground.com/#DMLMIP#10
On an old laptop (Lenovo G770) it works fine.
Graphics Card: AMD Radeon 6600M and 6700M Series
https://www.dropbox.com/s/pm1nrxx59xuftl7/VID_20180425_052419.mp4?dl=0
On my new PC, it looks like there's a bug.
Graphics Card: NVIDIA GeForce GTX 1060 6GB