Three.js 58 update to 88, Atmosphere demo does not work

shaders

#1

http://stemkoski.github.io/Three.js/Atmosphere.html

This is an example that work well with three.js version 58. Now I try to update to R88, but it does not work. I have try many ways but failed, could anyone can help me? thanks a lot.

here is my test code in github


#2

Hi!
Why r88? The latest release is 100 already.

Any examples of what you’ve tried?


#3

Here is the example with the latest version of three.js:

https://jsfiddle.net/m95eugz0/

I’ve not used EffectComposer so the workflow becomes more obvious.


#4

thanks very much. it works, but i have some question: does necessary have two scene and camera?


#5

hi, I had push my test code to github, and update to version 100, I think maybe is the AdditiveBlendShader.js caused, but no idea to resolve


#6

here is my test code in github