Greetings fellow developers!
Today, I embarked on a journey to create a volumetric light scattering shader using THREE.js. My inspiration came from this amazing example: https://codepen.io/abberg/pen/pbWkjg
However, as I attempted to implement the code, I encountered a troublesome console error stating: 'THREE.EffectComposer is not a constructor'
The root of the problem seems to be my attempt at reproducing this in an ES6 environment with gulp. To reduce compile time, I temporarily excluded THREE from gulp watch and directly imported it into index.html like so:
<script type="text/javascript" src="node_modules/three/build/three.min.js"></script>
I am currently using THREE version 0.88.0
Could it be that I overlooked a necessary plugin? Unfortunately, my research online has not unearthed any recent solutions to this perplexing issue.
Grateful for any assistance you can provide! Thank you!