From 16218e2bce6ec1ddf78aff0c1773d9d43b232291 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 13 Aug 2022 21:12:51 +0200 Subject: [PATCH] Add passthrough gammaWrite rule to all state maps --- raw/iw4/statemaps/additive.sm | 6 ++++++ raw/iw4/statemaps/additive_stencil.sm | 6 ++++++ raw/iw4/statemaps/build_floatz.sm | 6 ++++++ raw/iw4/statemaps/build_shadowmap.sm | 6 ++++++ raw/iw4/statemaps/build_shadowmap_color.sm | 6 ++++++ raw/iw4/statemaps/build_shadowmap_depth.sm | 6 ++++++ raw/iw4/statemaps/build_shadowmap_model.sm | 6 ++++++ raw/iw4/statemaps/clear_alpha_stencil.sm | 6 ++++++ raw/iw4/statemaps/color_only.sm | 6 ++++++ raw/iw4/statemaps/default.sm | 6 ++++++ raw/iw4/statemaps/default2d.sm | 6 ++++++ raw/iw4/statemaps/effect_add.sm | 6 ++++++ raw/iw4/statemaps/multiply_fog.sm | 6 ++++++ raw/iw4/statemaps/nocolor.sm | 6 ++++++ raw/iw4/statemaps/objective.sm | 6 ++++++ raw/iw4/statemaps/passthrough.sm | 6 ++++++ raw/iw4/statemaps/pixel_cost_add.sm | 6 ++++++ raw/iw4/statemaps/premulalpha.sm | 6 ++++++ raw/iw4/statemaps/shadowcookie_receiver.sm | 6 ++++++ raw/iw4/statemaps/wireframe.sm | 6 ++++++ raw/iw4/statemaps/zfeather_add.sm | 6 ++++++ 21 files changed, 126 insertions(+) diff --git a/raw/iw4/statemaps/additive.sm b/raw/iw4/statemaps/additive.sm index c9fed78a..ae62044e 100644 --- a/raw/iw4/statemaps/additive.sm +++ b/raw/iw4/statemaps/additive.sm @@ -47,6 +47,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/additive_stencil.sm b/raw/iw4/statemaps/additive_stencil.sm index 08123d6c..9d0b5e6c 100644 --- a/raw/iw4/statemaps/additive_stencil.sm +++ b/raw/iw4/statemaps/additive_stencil.sm @@ -47,6 +47,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/build_floatz.sm b/raw/iw4/statemaps/build_floatz.sm index 554b407e..85b0db38 100644 --- a/raw/iw4/statemaps/build_floatz.sm +++ b/raw/iw4/statemaps/build_floatz.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/build_shadowmap.sm b/raw/iw4/statemaps/build_shadowmap.sm index 88126d88..07f2c92f 100644 --- a/raw/iw4/statemaps/build_shadowmap.sm +++ b/raw/iw4/statemaps/build_shadowmap.sm @@ -44,6 +44,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/build_shadowmap_color.sm b/raw/iw4/statemaps/build_shadowmap_color.sm index ccad5e95..ae4145f6 100644 --- a/raw/iw4/statemaps/build_shadowmap_color.sm +++ b/raw/iw4/statemaps/build_shadowmap_color.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/build_shadowmap_depth.sm b/raw/iw4/statemaps/build_shadowmap_depth.sm index 989ba7e3..87c8a7d3 100644 --- a/raw/iw4/statemaps/build_shadowmap_depth.sm +++ b/raw/iw4/statemaps/build_shadowmap_depth.sm @@ -40,6 +40,12 @@ colorWrite Disable, Disable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/build_shadowmap_model.sm b/raw/iw4/statemaps/build_shadowmap_model.sm index 8ddf2983..d2d9c4ae 100644 --- a/raw/iw4/statemaps/build_shadowmap_model.sm +++ b/raw/iw4/statemaps/build_shadowmap_model.sm @@ -40,6 +40,12 @@ colorWrite Disable, Disable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/clear_alpha_stencil.sm b/raw/iw4/statemaps/clear_alpha_stencil.sm index 5cc7ed4f..fdfc7b34 100644 --- a/raw/iw4/statemaps/clear_alpha_stencil.sm +++ b/raw/iw4/statemaps/clear_alpha_stencil.sm @@ -40,6 +40,12 @@ colorWrite Disable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/color_only.sm b/raw/iw4/statemaps/color_only.sm index dcf74a4d..6cc65f6f 100644 --- a/raw/iw4/statemaps/color_only.sm +++ b/raw/iw4/statemaps/color_only.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/default.sm b/raw/iw4/statemaps/default.sm index 012ac840..f9e6e9a3 100644 --- a/raw/iw4/statemaps/default.sm +++ b/raw/iw4/statemaps/default.sm @@ -49,6 +49,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/default2d.sm b/raw/iw4/statemaps/default2d.sm index 57d9cc5f..cd85e127 100644 --- a/raw/iw4/statemaps/default2d.sm +++ b/raw/iw4/statemaps/default2d.sm @@ -47,6 +47,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/effect_add.sm b/raw/iw4/statemaps/effect_add.sm index 2de73bb0..a2c00eeb 100644 --- a/raw/iw4/statemaps/effect_add.sm +++ b/raw/iw4/statemaps/effect_add.sm @@ -45,6 +45,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/multiply_fog.sm b/raw/iw4/statemaps/multiply_fog.sm index 65e0d373..16af6a4b 100644 --- a/raw/iw4/statemaps/multiply_fog.sm +++ b/raw/iw4/statemaps/multiply_fog.sm @@ -47,6 +47,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/nocolor.sm b/raw/iw4/statemaps/nocolor.sm index a89eca26..0f457f63 100644 --- a/raw/iw4/statemaps/nocolor.sm +++ b/raw/iw4/statemaps/nocolor.sm @@ -45,6 +45,12 @@ colorWrite Disable, Disable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/objective.sm b/raw/iw4/statemaps/objective.sm index 6efa0a5f..12ea904a 100644 --- a/raw/iw4/statemaps/objective.sm +++ b/raw/iw4/statemaps/objective.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/passthrough.sm b/raw/iw4/statemaps/passthrough.sm index 9bf9f8f9..b226b539 100644 --- a/raw/iw4/statemaps/passthrough.sm +++ b/raw/iw4/statemaps/passthrough.sm @@ -40,6 +40,12 @@ colorWrite passthrough; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/pixel_cost_add.sm b/raw/iw4/statemaps/pixel_cost_add.sm index c61e26e8..f8f0f472 100644 --- a/raw/iw4/statemaps/pixel_cost_add.sm +++ b/raw/iw4/statemaps/pixel_cost_add.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/premulalpha.sm b/raw/iw4/statemaps/premulalpha.sm index e0a26aa9..c06bb361 100644 --- a/raw/iw4/statemaps/premulalpha.sm +++ b/raw/iw4/statemaps/premulalpha.sm @@ -49,6 +49,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/shadowcookie_receiver.sm b/raw/iw4/statemaps/shadowcookie_receiver.sm index e569b38b..f844918c 100644 --- a/raw/iw4/statemaps/shadowcookie_receiver.sm +++ b/raw/iw4/statemaps/shadowcookie_receiver.sm @@ -40,6 +40,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/wireframe.sm b/raw/iw4/statemaps/wireframe.sm index 009bb3a6..e22cae5e 100644 --- a/raw/iw4/statemaps/wireframe.sm +++ b/raw/iw4/statemaps/wireframe.sm @@ -40,6 +40,12 @@ colorWrite Enable, Disable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: diff --git a/raw/iw4/statemaps/zfeather_add.sm b/raw/iw4/statemaps/zfeather_add.sm index 25f84b0c..1a933da2 100644 --- a/raw/iw4/statemaps/zfeather_add.sm +++ b/raw/iw4/statemaps/zfeather_add.sm @@ -45,6 +45,12 @@ colorWrite Enable, Enable; } +gammaWrite +{ + default: + passthrough; +} + polygonOffset { default: