diff --git a/Shaders/3dcloud.frag b/Shaders/3dcloud.frag index a8d07665a..6cb1b4896 100644 --- a/Shaders/3dcloud.frag +++ b/Shaders/3dcloud.frag @@ -4,6 +4,9 @@ varying float fogFactor; void main(void) { vec4 base = texture2D( baseTexture, gl_TexCoord[0].st); + if (base.a <= 0.01) + discard; + vec4 finalColor = base * gl_Color; gl_FragColor.rgb = mix(gl_Fog.color.rgb, finalColor.rgb, fogFactor ); gl_FragColor.a = finalColor.a; diff --git a/Textures/Sky/cl_cumulus2.png b/Textures/Sky/cl_cumulus2.png index eb47a43e8..614cd1508 100644 Binary files a/Textures/Sky/cl_cumulus2.png and b/Textures/Sky/cl_cumulus2.png differ diff --git a/Textures/Sky/cl_st.png b/Textures/Sky/cl_st.png index efa1ae37f..ad4e14330 100644 Binary files a/Textures/Sky/cl_st.png and b/Textures/Sky/cl_st.png differ