From 876e3e11db5216df44554787f312a2a97036ac00 Mon Sep 17 00:00:00 2001 From: Emilian Huminiuc Date: Sat, 30 Jun 2012 14:51:18 +0300 Subject: [PATCH] fix transition.eff copy paste failure, and enable the slider selectively under Rembrandt. Signed-off-by: Emilian Huminiuc --- Effects/transition-base-dirt.eff | 18 ++++----- Effects/transition-base-grass-inverse.eff | 20 +++++----- Effects/transition-base-grass-rock.eff | 46 +++++++++++------------ Effects/transition-base-rock.eff | 20 +++++----- Effects/transition.eff | 8 ++-- gui/dialogs/shaders.xml | 34 +++++++++++------ 6 files changed, 77 insertions(+), 69 deletions(-) diff --git a/Effects/transition-base-dirt.eff b/Effects/transition-base-dirt.eff index a53bb9ccc..e66f8c2c4 100644 --- a/Effects/transition-base-dirt.eff +++ b/Effects/transition-base-dirt.eff @@ -3,14 +3,14 @@ Effects/transition-base-dirt Effects/transition - - Textures.high/Terrain/dirt3.dds - linear-mipmap-linear - repeat - repeat - normalized - - 1.0 - 0.0 + + Textures.high/Terrain/dirt3.dds + linear-mipmap-linear + repeat + repeat + normalized + + 1.0 + 0.0 diff --git a/Effects/transition-base-grass-inverse.eff b/Effects/transition-base-grass-inverse.eff index 477a4c630..8a4994232 100644 --- a/Effects/transition-base-grass-inverse.eff +++ b/Effects/transition-base-grass-inverse.eff @@ -3,16 +3,14 @@ Effects/transition-base-rock Effects/transition - - Textures.high/Terrain/grass12.dds - linear-mipmap-linear - repeat - repeat - normalized - - - 1.0 - 1.0 - + + Textures.high/Terrain/grass12.dds + linear-mipmap-linear + repeat + repeat + normalized + + 1.0 + 1.0 diff --git a/Effects/transition-base-grass-rock.eff b/Effects/transition-base-grass-rock.eff index 7ec5d5a5f..e9e1192ac 100644 --- a/Effects/transition-base-grass-rock.eff +++ b/Effects/transition-base-grass-rock.eff @@ -3,28 +3,28 @@ Effects/transition-base-grass-rock Effects/transition - - Textures.high/Terrain/grass10c.dds - linear-mipmap-linear - repeat - repeat - normalized - - - Textures.high/Terrain/rock7.dds - linear-mipmap-linear - repeat - repeat - normalized - - - Textures.high/Terrain.winter/mixedforest1c.dds - linear-mipmap-linear - repeat - repeat - normalized - - 2.0 - 0.0 + + Textures.high/Terrain/grass10c.dds + linear-mipmap-linear + repeat + repeat + normalized + + + Textures.high/Terrain/rock7.dds + linear-mipmap-linear + repeat + repeat + normalized + + + Textures.high/Terrain.winter/mixedforest1c.dds + linear-mipmap-linear + repeat + repeat + normalized + + 2.0 + 0.0 diff --git a/Effects/transition-base-rock.eff b/Effects/transition-base-rock.eff index 027ade306..87de290e5 100644 --- a/Effects/transition-base-rock.eff +++ b/Effects/transition-base-rock.eff @@ -3,16 +3,14 @@ Effects/transition-base-rock Effects/transition - - Textures.high/Terrain/rock7.dds - linear-mipmap-linear - repeat - repeat - normalized - - - 1.0 - 0.0 - + + Textures.high/Terrain/rock7.dds + linear-mipmap-linear + repeat + repeat + normalized + + 1.0 + 0.0 diff --git a/Effects/transition.eff b/Effects/transition.eff index 382258afc..e1fcf18bb 100644 --- a/Effects/transition.eff +++ b/Effects/transition.eff @@ -94,10 +94,6 @@ parameters : /sim/rendering/shaders/transition /sim/rendering/rembrandt/enabled - - 4.0 - /sim/rendering/shaders/water - 2.0 @@ -394,6 +390,10 @@ parameters : /sim/rendering/shaders/transition + + 0.0 + /sim/rendering/rembrandt/enabled + 2.0 diff --git a/gui/dialogs/shaders.xml b/gui/dialogs/shaders.xml index 6d263e2ba..fd43277e4 100644 --- a/gui/dialogs/shaders.xml +++ b/gui/dialogs/shaders.xml @@ -56,7 +56,7 @@ left - + left @@ -91,12 +91,18 @@ left - - /sim/rendering/rembrandt/enabled - + + + /sim/rendering/rembrandt/enabled + + + /sim/rendering/materials-file + Materials/dds/materials.xml + + - + left @@ -130,7 +136,7 @@ generic - + crop @@ -191,9 +197,15 @@ transition - - /sim/rendering/rembrandt/enabled - + + + /sim/rendering/rembrandt/enabled + + + /sim/rendering/materials-file + Materials/dds/materials.xml + + 0.0 1.0 @@ -252,7 +264,7 @@ - + @@ -371,7 +383,7 @@ - + hbox