summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/color.fx
diff options
context:
space:
mode:
authorGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-22 02:27:31 +0000
committerGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-22 02:27:31 +0000
commit53e20c168ff568f618efa3aa5b1e58e5a8457031 (patch)
treeb2585c3df902817c4d3197c87b3d02b10f0f5fa6 /hlsl/color.fx
parent2cd23c14765a433c589a9627ae01080cb1f3a5d8 (diff)
Fixing multiscreen games, nwn
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);
}
//-----------------------------------------------------------------------------