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

Ssao fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec2 uv
 UV coordinates.
 
uniform uniform mat4 projectionMatrix
 The camera projection parameters.
 
uniform float radius
 The sampling radius.
 
uniform vec4 samples [16]
 Unique sample directions on a sphere.
 
out float fragColor
 SSAO.
 

Detailed Description

Ssao fragment shader.

See also
GPUShaders::Common::Utils, GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

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

Estimate the screen space ambient occlusion in the scene.


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