Rendu
A lightweight rendering engine for experimentations
|
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. | |
Ssao fragment shader.
|
inline |
Estimate the screen space ambient occlusion in the scene.