I’m trying to create a realistic planet with atmospheric (rayleigh) scattering. I found a working (but quite old) fiddle: https://jsfiddle.net/VsWb9/770/
Which I adapted a little: https://jsfiddle.net/fwrdev/8r19mfb0/63/
Now I was trying to make use of a recent version of Three.js (in the Fiddle it’s r105 / locally it’s r142). So I adjusted the code: https://jsfiddle.net/fwrdev/prvfmx36/44/
But now, nothing is showing up. (Only) Firefox prints the following warnings in the console:
- “THREE.WebGLProgram: gl.getProgramInfoLog()”, “WARNING: Output of vertex shader ‘webgl_d63a0821229be6c6’ not read by fragment shader WARNING: Output of vertex shader ‘webgl_d327da1c24539825’ not read by fragmentshader”
I also tried the WEBGL1Renderer in the hope, that this might would be the cause. Didn’t work, same warning.
So far, I found nothing that helped. Sadly, my ability to debug shader code is strongly limited (=zero).
Any help would be highly appreciated.