Skip to content

Commit

Permalink
Remove workaround for bad data.
Browse files Browse the repository at this point in the history
Even though the data is only partially fixed...
  • Loading branch information
kring committed Nov 27, 2012
1 parent d36074a commit 8f8929d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Shaders/CentralBodyFS.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ void main()
vec4 color = vec4(startDayColor, 1.0);

#ifdef SHOW_OCEAN
// TODO: remove the clamp and *255.0 once the data is fixed.
float mask = clamp(texture2D(u_waterMask, waterMaskTextureCoordinates).r * 255.0, 0.0, 1.0);
float mask = texture2D(u_waterMask, waterMaskTextureCoordinates).r;
if (mask > 0.0)
{
vec3 normalMC = normalize(czm_geodeticSurfaceNormal(v_positionMC, vec3(0.0), vec3(1.0))); // normalized surface normal in model coordinates
Expand Down

0 comments on commit 8f8929d

Please sign in to comment.