From 8a8e229e21bff7ec89c80a580380be3168ce5fcb Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Thu, 1 Dec 2011 23:13:39 +0000 Subject: [PATCH] bugfix Signed-off-by: Vivian Meazza --- Effects/terrain-default.eff | 426 +++++++++++++++++++++--------------- 1 file changed, 250 insertions(+), 176 deletions(-) diff --git a/Effects/terrain-default.eff b/Effects/terrain-default.eff index 484d1cba2..1b0276de9 100644 --- a/Effects/terrain-default.eff +++ b/Effects/terrain-default.eff @@ -1,40 +1,40 @@ - Effects/terrain-default - - - - - 0.2 .2 0.2 1.0 - - - .8 .8 .8 1.0 - - - 0.0 0.0 0.0 1.0 - - - 0.0 0.0 0.0 1.0 - - 1.2 - - - Textures/Terrain/unknown.png - linear-mipmap-linear - - repeat - repeat - + + + + 0.2 .2 0.2 1.0 + + + .8 .8 .8 1.0 + + + 0.0 0.0 0.0 1.0 + + + 0.0 0.0 0.0 1.0 + + 1.2 + + + Textures/Terrain/unknown.png + linear-mipmap-linear + + repeat + repeat + - - normalized - - false - - 0 - RenderBin - + + normalized + + false + + 0 + RenderBin + /environment/ground-visibility-m @@ -53,101 +53,148 @@ /sim/rendering/scattering-shader - - - - - - /sim/rendering/shader-effects + + + + /sim/rendering/shader-effects - - - 2.0 - - - - GL_ARB_shader_objects - GL_ARB_shading_language_100 - GL_ARB_vertex_shader - GL_ARB_fragment_shader - - - - - - true - - material/ambient - material/diffuse - material/specular - material/emissive - material/shininess - ambient-and-diffuse - - transparent - smooth - back - - -1 - RenderBin - - - 0 - texture[0]/image - texture[0]/filter - texture[0]/wrap-s - texture[0]/wrap-t - - texture[0]/internal-format - - - + + + 2.0 + + + + GL_ARB_shader_objects + GL_ARB_shading_language_100 + GL_ARB_vertex_shader + GL_ARB_fragment_shader + + + + + + true + + + material/ambient + + + material/diffuse + + + material/specular + + + material/emissive + + + material/shininess + + ambient-and-diffuse + + + transparent + + smooth + back + + -1 + RenderBin + + + 0 + + texture[0]/image + + + texture[0]/filter + + + texture[0]/wrap-s + + + texture[0]/wrap-t + + + texture[0]/internal-format + + + + Shaders/include_fog.vert + Shaders/default.vert + Shaders/include_fog.frag + Shaders/terrain-nocolor.frag + + + texture + sampler-2d + 0 + + 0 0 0 0 + + + true + + + material/ambient + + + material/diffuse + + + material/specular + + + material/emissive + + + material/shininess + + ambient-and-diffuse + + + transparent + + + transparent + + smooth + back + + + render-bin/bin-number + + + render-bin/bin-name + + + + 0 + + texture[0]/image + + + texture[0]/filter + + + texture[0]/wrap-s + + + texture[0]/wrap-t + + + texture[0]/internal-format + + + Shaders/include_fog.vert - Shaders/default.vert - Shaders/terrain-nocolor.frag - - - texture - sampler-2d - 0 - - 0 0 0 0 - - - true - - material/ambient - material/diffuse - material/specular - material/emissive - material/shininess - ambient-and-diffuse - - transparent - transparent - smooth - back - - render-bin/bin-number - render-bin/bin-name - - - 0 - texture[0]/image - texture[0]/filter - texture[0]/wrap-s - texture[0]/wrap-t - - texture[0]/internal-format - - - - Shaders/include_fog.vert - Shaders/default.vert - Shaders/default.frag + Shaders/default.vert + Shaders/default.frag Shaders/include_fog.frag - + visibility float @@ -188,56 +235,83 @@ int fogtype - - - - texture - sampler-2d - 0 - - - colorMode - int - 2 - - - lequal - false - - - - - - true - - material/ambient - material/diffuse - material/specular - material/emissive - material/shininess - ambient-and-diffuse - - transparent - transparent - smooth - back - - render-bin/bin-number - render-bin/bin-name - - - 0 - texture[0]/image - texture[0]/filter - texture[0]/wrap-s - texture[0]/wrap-t - - texture[0]/internal-format - - - modulate - - - - + + + + texture + sampler-2d + 0 + + + colorMode + int + 2 + + + + lequal + false + + + + + + true + + + material/ambient + + + material/diffuse + + + material/specular + + + material/emissive + + + material/shininess + + ambient-and-diffuse + + + transparent + + + transparent + + smooth + back + + + render-bin/bin-number + + + render-bin/bin-name + + + + 0 + + texture[0]/image + + + texture[0]/filter + + + texture[0]/wrap-s + + + texture[0]/wrap-t + + + texture[0]/internal-format + + + modulate + + + +