diff --git a/Assets/Shaders/SphereCloud.shader b/Assets/Shaders/SphereCloud.shader index cc868970..3a1de964 100644 --- a/Assets/Shaders/SphereCloud.shader +++ b/Assets/Shaders/SphereCloud.shader @@ -208,6 +208,7 @@ Shader "EVE/Cloud" { half4 scolor = SpecularColorLight(_WorldSpaceLightPos0, IN.viewDir, worldNormal, color, 0, 0, LIGHT_ATTENUATION(IN)); scolor *= Terminator(normalize(_WorldSpaceLightPos0), worldNormal); scolor.a = transparency; + #ifdef SOFT_DEPTH_ON float partZ = IN.projPos.z; @@ -223,7 +224,7 @@ Shader "EVE/Cloud" { float fade = saturate(_InvFade * 0.1 * (terrainLength - viewLength)); fade = lerp(fade,1.0, smoothstep (50000.0, 100000.0, viewLength)); //fade out soft depth at large distances - + fade = (_ProjectionParams.y < 1.0 && _ProjectionParams.z > 1000 && _ProjectionParams.z < 200000) ? 1.0 : fade; //HACK to disable soft-depth on reflection probe which causes flickering scolor.a *= fade; #endif scolor.rgb *= MultiBodyShadow(IN.worldVert, _SunRadius, _SunPos, _ShadowBodies); @@ -238,7 +239,6 @@ Shader "EVE/Cloud" { #if !(SHADER_API_D3D11 && WORLD_SPACE_ON) //fixes clouds fading into the planet when zooming out OUT.depth = (1.0 - depthWithOffset * _ZBufferParams.w) / (depthWithOffset * _ZBufferParams.z); #endif - return OUT; } ENDCG diff --git a/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version b/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version index 97f35039..cc4178ba 100644 --- a/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version +++ b/ContentEVE/GameData/EnvironmentalVisualEnhancements/EnvironmentalVisualEnhancements.version @@ -10,7 +10,7 @@ "VERSION": { "MAJOR": 1, "MINOR": 11, - "PATCH": 5, + "PATCH": 6, "BUILD": 1 }, "KSP_VERSION": { diff --git a/_BuildManager/Properties/AssemblyVersionInfo.cs b/_BuildManager/Properties/AssemblyVersionInfo.cs index c63d5ef3..9b88092b 100644 --- a/_BuildManager/Properties/AssemblyVersionInfo.cs +++ b/_BuildManager/Properties/AssemblyVersionInfo.cs @@ -13,4 +13,4 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.11.5.1")] // KSP version with EVE release number appended; see also CKAN version file. +[assembly: AssemblyVersion("1.11.6.1")] // KSP version with EVE release number appended; see also CKAN version file. diff --git a/_BuildManager/_BuildManager.cs b/_BuildManager/_BuildManager.cs index 6374ba3f..63bb5f8f 100644 --- a/_BuildManager/_BuildManager.cs +++ b/_BuildManager/_BuildManager.cs @@ -28,7 +28,8 @@ private void AddLoadingTips() string[] newTips = { "Inserting Head Into Clouds...", // How KSP makes us all feel. "Luminously Urbanizing...", // City lights - "Searching for the Aurora Borealis...", "Searching for the Aurora Australis..." // You'll find them in SVE! + "Searching for the Aurora Borealis...", "Searching for the Aurora Australis...", // You'll find them in SVE! + "Reduxing EVE..." }; Array.Resize(ref tips, tips.Length + newTips.Length); newTips.CopyTo(tips, tips.Length - newTips.Length);