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

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.
 

Detailed Description

Blur gaussian fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

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

Performs an approximate 5x5 gaussian blur using two separable passes and three texture fetches in each direction.


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