Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Frag::Box_blur_2d_array_approx Class Reference

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.
 

Detailed Description

Box blur 2d array approx fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

void GPUShaders::Frag::Box_blur_2d_array_approx::main ( )
inline

Perform an approximate 5x5 blur using only 13 samples in a checkerboard pattern.


The documentation for this class was generated from the following file: