From c1e565403b523ce55933e84915e876e99ed367a1 Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Sat, 7 Aug 2010 11:13:26 +0100 Subject: [PATCH] Adjust contrail parameters, add missing file Signed-off-by: Vivian Meazza --- Shaders/contrail.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shaders/contrail.vert b/Shaders/contrail.vert index 7f4e86439..c738a452d 100644 --- a/Shaders/contrail.vert +++ b/Shaders/contrail.vert @@ -90,7 +90,7 @@ void main(void) gl_FrontColor += gl_FrontLightModelProduct.sceneColor; // As we get within 100m of the sprite, it is faded out. Equally at large distances it also fades out. - gl_FrontColor.a = min(smoothstep(10.0, 100.0, fogCoord), 1 - smoothstep(30000.0, 40000.0, fogCoord)); + gl_FrontColor.a = min(smoothstep(10.0, 100.0, fogCoord), 1 - smoothstep(60000.0, 80000.0, fogCoord)); gl_BackColor = gl_FrontColor; // Fog doesn't affect clouds as much as other objects.