Rendu
A lightweight rendering engine for experimentations
|
Box blur 2d array approx fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec2 | uv |
UV coordinates. | |
uniform uniform int | layer |
The array layer to sample. | |
out vec4 | fragColor |
Color. | |
Box blur 2d array approx fragment shader.
|
inline |
Perform an approximate 5x5 blur using only 13 samples in a checkerboard pattern.