Go to the source code of this file.
◆ fft_fragment_program_blur
const char* fft_fragment_program_blur |
|
static |
Initial value: float k = 0.0;
\n#define kernel(
x,
y)
t =
exp(-0.35 *
float((
x) * (
x) + (
y) * (
y))); k +=
t;
res +=
t * textureLodOffset(sHeight, vTex, 0.0, ivec2(
x,
y))
\n kernel(-1, -2);
kernel(-1, -1);
kernel(-1, 0);
kernel( 0, -2);
kernel( 0, -1);
kernel( 0, 0);
kernel( 1, -2);
kernel( 1, -1);
kernel( 1, 0);
}
)
#define GLSL_300(src)
Definition: shaders_common.h:11
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
GLuint res
Definition: glext.h:10520
GLdouble GLdouble t
Definition: glext.h:6398
struct passwd out
Definition: missing_libc_functions.c:51
#define exp(a)
Definition: math.h:32
GLenum GLint GLint * precision
Definition: glext.h:8206
sampler2DBase< glm::ivec4 > isampler2D
Definition: sampler.hpp:95
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:6295
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
GLuint in
Definition: glext.h:10523
int main(int argc, char *argv[])
Definition: send-presence.c:197
sampler2DBase< glm::uvec4 > usampler2D
Definition: sampler.hpp:96
GLdouble n
Definition: glext.h:8396