Rendu
A lightweight rendering engine for experimentations
|
Blur gaussian fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec2 | uv |
UV coordinates. | |
uniform uniform vec2 | fetchOffset |
Texture coordinates offset along the correct axis. | |
out vec3 | fragColor |
Blurred color. | |
Blur gaussian fragment shader.
|
inline |
Performs an approximate 5x5 gaussian blur using two separable passes and three texture fetches in each direction.