From 7158dfdff360a22dd1c460e06c2d5f3d3c0b2b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Garc=C3=ADa=20Li=C3=B1=C3=A1n?= Date: Tue, 22 Dec 2020 17:21:34 +0100 Subject: [PATCH] Revert "Add clustered shading support to most Effects and shaders" This reverts commit b3237e207a54748657d46d1441a8b6a10e5bf2f2. --- Compositor/Classic/common-scene.xml | 8 -------- Effects/agriculture.eff | 1 - Effects/airfield.eff | 1 - Effects/chute.eff | 1 - Effects/cliffs.eff | 1 - Effects/crop.eff | 1 - Effects/dirt-runway.eff | 1 - Effects/flutter.eff | 4 +--- Effects/forest.eff | 1 - Effects/glacier.eff | 1 - Effects/grass.eff | 1 - Effects/herbtundra.eff | 1 - Effects/model-combined.eff | 9 +++------ Effects/model-default.eff | 1 - Effects/model-interior-display.eff | 1 - Effects/model-interior.eff | 2 -- Effects/model-wingflex.eff | 4 +--- Effects/road.eff | 1 - Effects/rock.eff | 1 - Effects/runway.eff | 4 +--- Effects/terrain-default.eff | 4 ---- Effects/terrain-overlay.eff | 1 - Effects/transition.eff | 1 - Shaders/agriculture-ALS.frag | 4 +--- Shaders/airfield-ALS.frag | 3 --- Shaders/chute-ALS.vert | 5 ++--- Shaders/cliffs-ALS.frag | 4 +--- Shaders/crop.frag | 2 -- Shaders/default.frag | 3 --- Shaders/default.vert | 4 +--- Shaders/drunway-ALS.frag | 4 +--- Shaders/flutter-ALS.vert | 3 +-- Shaders/flutter.vert | 3 +-- Shaders/forest.frag | 1 - Shaders/generic-ALS-base.vert | 5 ++--- Shaders/model-ALS-base.frag | 4 +--- Shaders/model-ALS-ultra.frag | 3 --- Shaders/model-ALS-wingflex.vert | 2 +- Shaders/model-interior-ALS-base.frag | 3 --- Shaders/model-interior-ALS-base.vert | 5 ++--- Shaders/model-interior-ALS-detailed.frag | 4 ---- Shaders/model-interior-ALS-detailed.vert | 5 ++--- Shaders/model-interior-display-ALS.frag | 3 --- Shaders/road-ALS-ultra.frag | 3 +-- Shaders/rock-ALS.frag | 4 +--- Shaders/runway-ALS.frag | 4 +--- Shaders/runway.frag | 4 ---- Shaders/runway.vert | 3 +-- Shaders/terrain-ALS-base.frag | 3 --- Shaders/terrain-ALS-detailed.frag | 4 +--- Shaders/terrain-ALS-detailed.vert | 3 +-- Shaders/terrain-ALS-ultra.frag | 4 ---- Shaders/terrain-ALS-ultra.vert | 5 ++--- Shaders/transition.frag | 3 --- Shaders/transition.vert | 3 +-- Shaders/ubershader.frag | 3 --- defaults.xml | 3 --- 57 files changed, 31 insertions(+), 139 deletions(-) diff --git a/Compositor/Classic/common-scene.xml b/Compositor/Classic/common-scene.xml index 2b35a82f3..e5941b7e8 100644 --- a/Compositor/Classic/common-scene.xml +++ b/Compositor/Classic/common-scene.xml @@ -6,14 +6,6 @@ csm1 csm2 csm3 - - 128 - 1 - 1 - - /sim/rendering/clustered-shading/enabled - - sun-shadowmap-atlas 10 diff --git a/Effects/agriculture.eff b/Effects/agriculture.eff index a81041cde..88ec9335c 100644 --- a/Effects/agriculture.eff +++ b/Effects/agriculture.eff @@ -252,7 +252,6 @@ Shaders/secondary_lights.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag grain_strength diff --git a/Effects/airfield.eff b/Effects/airfield.eff index b8b9f4872..7209ca365 100644 --- a/Effects/airfield.eff +++ b/Effects/airfield.eff @@ -147,7 +147,6 @@ Shaders/secondary_lights.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag orthophotoTexCoord 14 diff --git a/Effects/chute.eff b/Effects/chute.eff index 68a4e5a67..163322f6d 100644 --- a/Effects/chute.eff +++ b/Effects/chute.eff @@ -81,7 +81,6 @@ Shaders/noise.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag visibility diff --git a/Effects/cliffs.eff b/Effects/cliffs.eff index 8fe14091f..373f097dc 100644 --- a/Effects/cliffs.eff +++ b/Effects/cliffs.eff @@ -97,7 +97,6 @@ Shaders/secondary_lights.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag intrinsic_wetness diff --git a/Effects/crop.eff b/Effects/crop.eff index e4feeba66..ebb2cdfbd 100644 --- a/Effects/crop.eff +++ b/Effects/crop.eff @@ -93,7 +93,6 @@ Shaders/include_fog.frag Shaders/crop.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag NoiseTex diff --git a/Effects/dirt-runway.eff b/Effects/dirt-runway.eff index 35d3ed09b..333fc3776 100644 --- a/Effects/dirt-runway.eff +++ b/Effects/dirt-runway.eff @@ -148,7 +148,6 @@ Shaders/secondary_lights.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag visibility diff --git a/Effects/flutter.eff b/Effects/flutter.eff index 75c90c070..2f965b850 100644 --- a/Effects/flutter.eff +++ b/Effects/flutter.eff @@ -151,7 +151,6 @@ Shaders/noise.frag Shaders/filters-ALS.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag colorMode @@ -434,8 +433,7 @@ Shaders/include_fog.frag Shaders/default.frag Shaders/shadows-include.frag - Shaders/clustered-include.frag - +