Skip to content

Commit

Permalink
Enlarge atmosphere sphere
Browse files Browse the repository at this point in the history
  • Loading branch information
nagix committed Jan 9, 2024
1 parent eb19a66 commit 6d8229b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h2>Loading North Korea Missile Test Data from 1984 to 2023. Please wait...</h2>
varying vec3 vPosition;

void main() {
float intensity = dot( vNormal, vPosition ) * 2.5 - 1.92;
float intensity = dot( vNormal, vPosition ) * 2.92 - 2.4;
gl_FragColor = vec4( 1.0, 1.0, 1.0, 1.0 ) * intensity;
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function initScene() {
});

var atmosphere = new THREE.Mesh(sphere.geometry.clone(), atmosphereMaterial);
atmosphere.scale.x = atmosphere.scale.y = atmosphere.scale.z = 1.8;
atmosphere.scale.x = atmosphere.scale.y = atmosphere.scale.z = 2.1;
rotating.add(atmosphere);

for( var i in timeBins ){
Expand Down

0 comments on commit 6d8229b

Please sign in to comment.