Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions SMAA.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
*
* The shader has three passes, chained together as follows:
*
* |input|------------------
* |input|------------------·
* v |
* [ SMAA*EdgeDetection ] |
* v |
Expand All @@ -60,7 +60,7 @@
* v |
* |blendTex| |
* v |
* [ SMAANeighborhoodBlending ] <------
* [ SMAANeighborhoodBlending ] <------·
* v
* |output|
*
Expand Down Expand Up @@ -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)
Expand Down