Skip to content

Commit

Permalink
Fix for when atmosphere is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
bagnell committed Sep 20, 2018
1 parent 85b08e5 commit 14e3114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Shaders/GlobeFS.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void main()
}
float fade = clamp((cameraDist - fadeOutDist) / (fadeInDist - fadeOutDist), 0.0, 1.0);
#else
float fade = 1.0;
float fade = 0.0;
#endif

#ifdef SHOW_REFLECTIVE_OCEAN
Expand Down

0 comments on commit 14e3114

Please sign in to comment.