Skip to content

Commit

Permalink
Merge pull request #8701 from CesiumGS/fix-ie
Browse files Browse the repository at this point in the history
Fix IE crash
  • Loading branch information
Omar Shehata authored Mar 26, 2020
2 parents 52f5819 + 9a9e25c commit bf91215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Shaders/GroundAtmosphere.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const float fKmESun = Km * ESun;
const float fKr4PI = Kr * 4.0 * czm_pi;
const float fKm4PI = Km * 4.0 * czm_pi;

const vec3 v3InvWavelength = vec3(1.0 / pow(0.650, 4.0), 1.0 / pow(0.570, 4.0), 1.0 / pow(0.475, 4.0));
// Original: vec3(1.0 / pow(0.650, 4.0), 1.0 / pow(0.570, 4.0), 1.0 / pow(0.475, 4.0));
const vec3 v3InvWavelength = vec3(5.60204474633241, 9.473284437923038, 19.64380261047721);

const float fScaleDepth = 0.25;

Expand Down

0 comments on commit bf91215

Please sign in to comment.