diff options
author | Ryan Holtz <rholtz@batcountryentertainment.com> | 2011-05-27 10:07:11 +0000 |
---|---|---|
committer | Ryan Holtz <rholtz@batcountryentertainment.com> | 2011-05-27 10:07:11 +0000 |
commit | c8ef077d5ba989d07f17d663b7c8c875d9903604 (patch) | |
tree | 8d15aa6f10b50af574db068c45eae1a1a112628b /hlsl/color.fx | |
parent | 10583a2dfbec2b4fa24f7a2def56b21c87c619fb (diff) |
HLSL Updates: [Ryan Holtz, Bat Country Entertainment]
- Switched to point-sampling through most of the shader chain to avoid non-intentional pixel smearing
- Corrected alignment and scaling on the shadow mask and scanlines; dramatically reduces rainbow banding at non-oversampled resolutions.
Diffstat (limited to 'hlsl/color.fx')
-rw-r--r-- | hlsl/color.fx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hlsl/color.fx b/hlsl/color.fx index 8b618eb325a..e04d93daabd 100644 --- a/hlsl/color.fx +++ b/hlsl/color.fx @@ -7,9 +7,9 @@ texture Diffuse; sampler DiffuseSampler = sampler_state { Texture = <Diffuse>; - MipFilter = LINEAR; - MinFilter = LINEAR; - MagFilter = LINEAR; + MipFilter = POINT; + MinFilter = POINT; + MagFilter = POINT; AddressU = CLAMP; AddressV = CLAMP; AddressW = CLAMP; |