diff --git a/Effects/glass.eff b/Effects/glass.eff index b6ee1d06e..309a29d78 100644 --- a/Effects/glass.eff +++ b/Effects/glass.eff @@ -1,73 +1,73 @@ - Effects/glass - Effects/model-default + Effects/glass + Effects/model-transparent - - - Aircraft/Generic/Effects/window_frost.png - 2d - linear-mipmap-linear - repeat - repeat - normalized - - - - white - - - - 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 - - - - - 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 - - - 1.0 1.0 1.0 1.0 - 1.0 1.0 1.0 - /environment/aircraft-effects/splash-vector-x - /environment/aircraft-effects/splash-vector-y - /environment/aircraft-effects/splash-vector-z - /environment/rain-norm - /environment/aircraft-effects/ground-splash-norm - /environment/aircraft-effects/frost-level - 0 - /environment/aircraft-effects/fog-level - /environment/aircraft-effects/use-wipers - /environment/aircraft-effects/use-overlay - /environment/aircraft-effects/overlay-alpha - 0.5 - 0 - 1.0 - 0 - 0 - 0 - 1.0 - 1.0 1.0 1.0 - 1.0 - 1.0 1.0 1.0 - 1.0 - 1.0 1.0 1.0 - 1.0 - 1.0 1.0 1.0 + + + Aircraft/Generic/Effects/window_frost.png + 2d + linear-mipmap-linear + repeat + repeat + normalized + + + + white + + + + 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 + + + + + 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 + + + 1.0 1.0 1.0 1.0 + 1.0 1.0 1.0 + /environment/aircraft-effects/splash-vector-x + /environment/aircraft-effects/splash-vector-y + /environment/aircraft-effects/splash-vector-z + /environment/rain-norm + /environment/aircraft-effects/ground-splash-norm + /environment/aircraft-effects/frost-level + 0 + /environment/aircraft-effects/fog-level + /environment/aircraft-effects/use-wipers + /environment/aircraft-effects/use-overlay + /environment/aircraft-effects/overlay-alpha + 0.5 + 0 + 1.0 + 0 + 0 + 0 + 1.0 + 1.0 1.0 1.0 + 1.0 + 1.0 1.0 1.0 + 1.0 + 1.0 1.0 1.0 + 1.0 + 1.0 1.0 1.0 Textures/PBR/dfg_lut.dds 2d @@ -77,9 +77,9 @@ clamp-to-edge normalized - + - + /sim/rendering/shaders/skydome @@ -100,7 +100,7 @@ true - false + false material/active @@ -153,14 +153,14 @@ texture[2]/internal-format - 3 - texture[3]/type - texture[3]/images + 3 + texture[3]/type + texture[3]/images - 4 - texture[4]/type - texture[4]/images + 4 + texture[4]/type + texture[4]/images vertex-program-two-side @@ -172,67 +172,67 @@ Shaders/filters-ALS.frag - + tint float-vec4 glass-tint - - + + overlay_color float-vec3 overlay-color - - - lightmap_r_factor - float - lightmap-factor[0] - - - lightmap_r_color - float-vec3 - lightmap-color[0] - - - lightmap_g_factor - float - lightmap-factor[1] - - - lightmap_g_color - float-vec3 - lightmap-color[1] - - - lightmap_b_factor - float - lightmap-factor[2] - - - lightmap_b_color - float-vec3 - lightmap-color[2] - - - lightmap_a_factor - float - lightmap-factor[3] - - - lightmap_a_color - float-vec3 - lightmap-color[3] - - + + + lightmap_r_factor + float + lightmap-factor[0] + + + lightmap_r_color + float-vec3 + lightmap-color[0] + + + lightmap_g_factor + float + lightmap-factor[1] + + + lightmap_g_color + float-vec3 + lightmap-color[1] + + + lightmap_b_factor + float + lightmap-factor[2] + + + lightmap_b_color + float-vec3 + lightmap-color[2] + + + lightmap_a_factor + float + lightmap-factor[3] + + + lightmap_a_color + float-vec3 + lightmap-color[3] + + splash_x float splash-x - - + + splash_y float splash-y - - + + splash_z float splash-z @@ -263,9 +263,9 @@ scattering - terminator - float - terminator + terminator + float + terminator ground_scattering @@ -273,21 +273,21 @@ ground_scattering - terminator - float - terminator + terminator + float + terminator overcast float overcast - + hazeLayerAltitude float lthickness - + eye_alt float eye_alt @@ -322,7 +322,7 @@ float overlay-glare - + gamma float @@ -390,49 +390,49 @@ 2 - cube_texture + cube_texture sampler-cube - 3 + 3 - cube_light_texture + cube_light_texture sampler-cube - 4 + 4 - use_reflection - int - use-reflection + use_reflection + int + use-reflection - use_mask - int - use-mask + use_mask + int + use-mask - use_wipers - int - use-wipers + use_wipers + int + use-wipers - use_overlay - int - use-overlay + use_overlay + int + use-overlay - use_reflection_lightmap - int - use-reflection-lightmap + use_reflection_lightmap + int + use-reflection-lightmap - lightmap_multi - int - lightmap-multi + lightmap_multi + int + lightmap-multi - adaptive_mapping - int - surface-mapping-scheme + adaptive_mapping + int + surface-mapping-scheme colorMode @@ -441,184 +441,6 @@ - - - - - - - true - - false - - - - material/active - - - material/ambient - - - material/diffuse - - - material/specular - - - material/emissive - - - material/shininess - - - material/color-mode - - - - - blend/active - - - blend/source - - - blend/destination - - - - shade-model - - - cull-face - - - 111 - DepthSortedBin - - - 0 - - texture[0]/active - - - texture[0]/type - - - texture[0]/image - - - texture[0]/filter - - - texture[0]/wrap-s - - - texture[0]/wrap-t - - - - modulate - - - - - - - - hdr-geometry - - - - hdr-forward - - - - gequal - 1.0 - 0.0 - false - - - 0 - texture[0]/type - texture[0]/image - texture[0]/filter - texture[0]/mag-filter - texture[0]/wrap-s - texture[0]/wrap-t - - - 8 - texture[8]/image - texture[8]/type - texture[8]/filter - texture[8]/mag-filter - texture[8]/wrap-s - texture[8]/wrap-t - texture[8]/internal-format - - 1 - transparent - cull-face - - Shaders/HDR/geometry-transparent.vert - Shaders/HDR/geometry-transparent.frag - Shaders/HDR/gbuffer-include.frag - Shaders/HDR/shadows-include.frag - Shaders/HDR/lighting-include.frag - Shaders/HDR/aerial-perspective-include.frag - - - color_tex - sampler-2d - 0 - - - color_mode - int - material/color-mode - - - material_diffuse - float-vec4 - material/diffuse - - - - depth_tex - sampler-2d - 7 - - - shadow_tex - sampler-2d-shadow - 10 - - - - dfg_lut - sampler-2d - 8 - - - prefiltered_envmap - sampler-cube - 9 - - - - aerial_perspective_lut - sampler-2d - 11 - - - transmittance_lut - sampler-2d - 12 - - - diff --git a/Effects/model-pbr-transparent.eff b/Effects/model-pbr-transparent.eff index a5465a6c3..f2963bcf4 100644 --- a/Effects/model-pbr-transparent.eff +++ b/Effects/model-pbr-transparent.eff @@ -19,11 +19,15 @@ -1.0 - + hdr-geometry - + + hdr-shadow + + + hdr-forward diff --git a/Effects/model-pbr.eff b/Effects/model-pbr.eff index ecaf5b05f..f91eb37e2 100644 --- a/Effects/model-pbr.eff +++ b/Effects/model-pbr.eff @@ -2,6 +2,7 @@ Effects/model-pbr + @@ -34,7 +35,7 @@ 7 - + hdr-geometry diff --git a/Effects/model-transparent.eff b/Effects/model-transparent.eff index fcdd9027c..529db00bf 100644 --- a/Effects/model-transparent.eff +++ b/Effects/model-transparent.eff @@ -15,10 +15,13 @@ - + hdr-geometry - + + hdr-shadow + + hdr-forward diff --git a/Effects/stars.eff b/Effects/stars.eff index 8563c35c8..47a638642 100644 --- a/Effects/stars.eff +++ b/Effects/stars.eff @@ -13,11 +13,7 @@ - + hdr-geometry - - - hdr-forward -