From 706afafb60defc45d15abd22c0de5602edd6cf04 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Wed, 16 Feb 2022 11:24:48 +0100 Subject: [PATCH] Add a more comprehensive standard fuselage reflection configuration - use ALS shaders - Add parameters to enable or disable the effect and influence the shininess and fresnel factor --- Aircraft/Generic/Effects/Fuselagereflect.eff | 199 ++++++++++++++----- Aircraft/Generic/Effects/null_bumpspec.png | Bin 168 -> 102 bytes defaults.xml | 7 + 3 files changed, 157 insertions(+), 49 deletions(-) diff --git a/Aircraft/Generic/Effects/Fuselagereflect.eff b/Aircraft/Generic/Effects/Fuselagereflect.eff index da0134ef9..0bab6af8d 100644 --- a/Aircraft/Generic/Effects/Fuselagereflect.eff +++ b/Aircraft/Generic/Effects/Fuselagereflect.eff @@ -1,49 +1,150 @@ - - - - - Fuselagereflect - Effects/reflect - - - cubemap - - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_px.png - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nx.png - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_py.png - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_ny.png - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_pz.png - Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nz.png - - - - Aircraft/Generic/Effects/Rainbow.png - linear-mipmap-linear - repeat - repeat - - - Aircraft/Generic/Effects/FresnelLookUp.png - linear-mipmap-linear - repeat - repeat - normalized - - - Aircraft/Generic/Effects/greymap.png - linear-mipmap-linear - repeat - repeat - normalized - - transparent - smooth - 0.1 - 0.1 - 0.1 - -0.2 - 0.1 - 0 - - - + + + + + + Aircraft/Generic/Effects/Fuselagereflect + Effects/model-combined-deferred + + 2 + 1 + 0 + 1.0 + 0 + 0.1 + sim/model/civilian + 1 + 1 + 0.0 + 0.0 + 1.0 + sim/model/livery/shininess + sim/model/livery/fresnel + + Aircraft/Generic/Effects/null_bumpspec.png + linear-mipmap-linear + clamp + clamp + normalized + + + cubemap + + Aircraft/Generic/Effects/CubeMaps/buildings/N.png + Aircraft/Generic/Effects/CubeMaps/buildings/S.png + Aircraft/Generic/Effects/CubeMaps/buildings/W.png + Aircraft/Generic/Effects/CubeMaps/buildings/E.png + Aircraft/Generic/Effects/CubeMaps/buildings/U.png + Aircraft/Generic/Effects/CubeMaps/buildings/D.png + + + + + + 6 + 7 + + + + + + + tangent + 6 + + + binormal + 7 + + + + + + + + + + tangent + 6 + + + binormal + 7 + + + + + + + + + + tangent + 6 + + + binormal + 7 + + + + + + diff --git a/Aircraft/Generic/Effects/null_bumpspec.png b/Aircraft/Generic/Effects/null_bumpspec.png index 1a4650a8cd1cf770f6fb31576c26bc3c37c481d6..dc90955ece9f3dab645ad3a5da2377a71b7e1e59 100644 GIT binary patch literal 102 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzT~8Oskch)?&p9$OFtD%~sO*1s o1.0 libx265 + + false + + 0.7 + -0.5 + +