From f43a9e45e63cbde7b519e96598d8c600702f9b9c Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Sun, 27 Nov 2011 23:24:12 +0000 Subject: [PATCH] Add runway rain effect (experimental) Signed-off-by: Vivian Meazza --- Effects/runway.eff | 381 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 381 insertions(+) create mode 100644 Effects/runway.eff diff --git a/Effects/runway.eff b/Effects/runway.eff new file mode 100644 index 000000000..e027a5c02 --- /dev/null +++ b/Effects/runway.eff @@ -0,0 +1,381 @@ + + + Effects/runway + Effects/terrain-default + + + Textures.high/Runway/rwy-normalmap.dds + linear-mipmap-linear + repeat + repeat + normalized + + + cubemap + + + + + + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png + Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png + + + + + Aircraft/Generic/Effects/Rainbow.png + linear-mipmap-linear + repeat + repeat + normalized + + + Aircraft/Generic/Effects/FresnelLookUp.png + linear-mipmap-linear + repeat + repeat + normalized + + + Textures.high/Runway/rwy-reflect.png + linear-mipmap-linear + repeat + repeat + normalized + + transparent + smooth + 0.01 + 0.01 + 0.01 + + 0.01 + 1 + 1 + false + + /environment/rain-norm + + + + /environment/ground-visibility-m + + + /environment/visibility-m + + + /environment/ground-haze-thickness-m + + + /rendering/scene/scattering + + + /environment/terminator-relative-position-m + + + /sim/rendering/scattering-shader + + + + + 6 + 7 + + + + + /sim/rendering/shader-effects + + + 2.0 + + + + GL_ARB_shader_objects + GL_ARB_shading_language_100 + GL_ARB_vertex_shader + GL_ARB_fragment_shader + + + + + + + 0 + texture[0]/image + texture[0]/filter + texture[0]/wrap-s + texture[0]/wrap-t + texture[1]/internal-format + + + 4 + + texture[4]/image + + + texture[4]/filter + + + texture[4]/wrap-s + + + texture[4]/wrap-t + + + texture[4]/internal-format + + + + + 5 + + texture[5]/type + + + + + + + + texture[5]/images + + + + + 6 + + texture[6]/type + + + texture[6]/image + + + texture[6]/filter + + + texture[6]/wrap-s + + + texture[6]/wrap-t + + + + + 7 + + texture[7]/type + + + texture[7]/image + + + texture[7]/filter + + + texture[7]/wrap-s + + + texture[7]/wrap-t + + + + + 8 + + texture[8]/image + + + texture[8]/filter + + + texture[8]/wrap-s + + + texture[8]/wrap-t + + + texture[0]/internal-format + + + + + 9 + noise + + + vertex-program-two-side + + + Shaders/include_fog.vert + Shaders/reflect-bump-spec.vert + Shaders/include_fog.frag + Shaders/runway-reflect-bump-spec.frag + + tangent + 6 + + + binormal + 7 + + + + + BaseTex + sampler-2d + 0 + + + + NormalTex + sampler-2d + 4 + + + + Environment + sampler-cube + 5 + + + + Rainbow + sampler-2d + 6 + + + + Fresnel + sampler-2d + 7 + + + + Map + sampler-2d + 8 + + + + Noise + sampler-3d + 9 + + + + + rainbowiness + float + + rainbowiness + + + + + + fresneliness + float + + fresneliness + + + + + + noisiness + float + + noisiness + + + + + + spec_adjust + float + + wetness + + + + + + ambient_correction + float + + ambient_correction + + + + + + reflect_map + float + + reflect_map + + + + + + normalmap_dds + float + + normalmap_dds + + + + + visibility + float + + visibility + + + + avisibility + float + + avisibility + + + + hazeLayerAltitude + float + + lthickness + + + + scattering + float + + scattering + + + + terminator + float + + terminator + + + + fogType + int + + fogtype + + + + +