summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/color.fx
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-30 21:40:25 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-30 21:40:25 +0000
commit773e35d79ba2919d8538fe6b41de2a2df77d2071 (patch)
tree46074dd7a92adfd83b233b56cad37e57a5813eee /hlsl/color.fx
parent796e691522ba5c47fc0610da4f557514563f85b9 (diff)
Moved "color floor" functionality to occur after scanlines but before shadow mask. Scanlines look much better and no longer cut black lines through the shadow mask. No whatsnew.
Diffstat (limited to 'hlsl/color.fx')
-rw-r--r--hlsl/color.fx3
1 files changed, 0 insertions, 3 deletions
diff --git a/hlsl/color.fx b/hlsl/color.fx
index 5f12ed95c19..e4aa954e8b5 100644
--- a/hlsl/color.fx
+++ b/hlsl/color.fx
@@ -130,9 +130,6 @@ float4 ps_main(PS_INPUT Input) : COLOR
OutRGB.g = pow(Saturated.g, GrnPower);
OutRGB.b = pow(Saturated.b, BluPower);
- // -- Color Compression (increasing the floor of the signal without affecting the ceiling) --
- OutRGB = float3(RedFloor + (1.0f - RedFloor) * OutRGB.r, GrnFloor + (1.0f - GrnFloor) * OutRGB.g, BluFloor + (1.0f - BluFloor) * OutRGB.b);
-
return float4(OutRGB, BaseTexel.a);
}