util-gaussian-blur
This shader does a gaussian blur along a given axis using a 13-tap filter along a specified axis.
Index
Input Textures/Samplers
Uniform Buffer Values
Input Textures/Samplers
- g_sourceTex
-
g_sourceTex
Type
texture
(platform-specific)Description
The texture to sample. - g_sampler
-
g_sampler
Type
sampler
(platform-specific, does not exist on some platforms)Description
The sampler to use to sample g_sourceTex.
Uniform Buffer Values
- g_blurDir
-
float2 g_blurDir
Type
float2
Description
The direction that we're blurring along. Should either be (1, 0)
to blur horizontally or(0, 1)
to blur vertically.