summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/phosphor.fx
diff options
context:
space:
mode:
authorGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-27 23:24:53 +0000
committerGravatarGravatar Ryan Holtz <rholtz@batcountryentertainment.com>2011-05-27 23:24:53 +0000
commit3e437e09f04166aac3b9e6aa60ae4ea7865cccda (patch)
tree599dc89f1cbb94d706e15a3a72daf68b93139289 /hlsl/phosphor.fx
parent6c3b5405709b314a0dc1ad616e2083eb3d5cae81 (diff)
HLSL updates, nwn:
- Favor bilinear sampling on X and point sampling on Y. Best of both worlds.
Diffstat (limited to 'hlsl/phosphor.fx')
-rw-r--r--hlsl/phosphor.fx12
1 files changed, 6 insertions, 6 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx
index 242c23d26a2..6512cc4739a 100644
--- a/hlsl/phosphor.fx
+++ b/hlsl/phosphor.fx
@@ -7,9 +7,9 @@ texture Diffuse;
sampler DiffuseSampler = sampler_state
{
Texture = <Diffuse>;
- MipFilter = POINT;
- MinFilter = POINT;
- MagFilter = POINT;
+ MipFilter = LINEAR;
+ MinFilter = LINEAR;
+ MagFilter = LINEAR;
AddressU = CLAMP;
AddressV = CLAMP;
AddressW = CLAMP;
@@ -20,9 +20,9 @@ texture LastPass;
sampler PreviousSampler = sampler_state
{
Texture = <LastPass>;
- MipFilter = POINT;
- MinFilter = POINT;
- MagFilter = POINT;
+ MipFilter = LINEAR;
+ MinFilter = LINEAR;
+ MagFilter = LINEAR;
AddressU = CLAMP;
AddressV = CLAMP;
AddressW = CLAMP;