three.js - Issue upgrading threejs with shaders -


i working on 3d dataviz. need show world data on , using chrome experiments (chromeexperiments.com/globe) guide.

the issue visualizations made threejs r40 , hard find docs tried upgrade r71.

i solved compatibility issues rendering world cant make show atmosphere, in fact, when try show atmosphere nothing shown (is atmosphere rendered black , hides world).

i think problem shader not sure.

does have clue?

this code using:

gist.github.com/glena/0b2875044cd6c39ff150

thanks

==========

update:

if remove fragentshader, rendered red sphere stills covers world black background:

 var mesh = new three.mesh(new three.spheregeometry(100, 40, 30),          new three.shadermaterial({            uniforms: uniforms,           vertexshader: shader.vertexshader          })       ); 

the issue (as said @westlangley) was

mesh.flipsided = true; ==> mesh.material.side = three.backside; 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -