summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/color.fx
diff options
context:
space:
mode:
Diffstat (limited to 'hlsl/color.fx')
-rw-r--r--hlsl/color.fx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/color.fx b/hlsl/color.fx
index 50083c048a5..3aa8c99e4ca 100644
--- a/hlsl/color.fx
+++ b/hlsl/color.fx
@@ -136,7 +136,7 @@ float4 ps_main(PS_INPUT Input) : COLOR
// -- 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, 1.0f);
+ return float4(OutRGB, BaseTexel.a);
}
//-----------------------------------------------------------------------------