diff --git a/SMAA.hlsl b/SMAA.hlsl index 2c8d497..2f3c66e 100644 --- a/SMAA.hlsl +++ b/SMAA.hlsl @@ -50,7 +50,7 @@ * * The shader has three passes, chained together as follows: * - * |input|------------------· + * |input|------------------· * v | * [ SMAA*EdgeDetection ] | * v | @@ -60,7 +60,7 @@ * v | * |blendTex| | * v | - * [ SMAANeighborhoodBlending ] <------· + * [ SMAANeighborhoodBlending ] <------· * v * |output| * @@ -564,7 +564,7 @@ SamplerState PointSampler { Filter = MIN_MAG_MIP_POINT; AddressU = Clamp; Addres #define SMAASampleLevelZeroOffset(tex, coord, offset) textureLodOffset(tex, coord, 0.0, offset) #define SMAASample(tex, coord) texture(tex, coord) #define SMAASamplePoint(tex, coord) texture(tex, coord) -#define SMAASampleOffset(tex, coord, offset) texture(tex, coord, offset) +#define SMAASampleOffset(tex, coord, offset) textureOffset(tex, coord, offset) #define SMAA_FLATTEN #define SMAA_BRANCH #define lerp(a, b, t) mix(a, b, t)