|
Rendu
A lightweight rendering engine for experimentations
|
Skybox shcoeffs fragment shader. More...
Public Member Functions | |
| void | main () |
Public Attributes | |
| in vec3 | pos |
| Position in model space. | |
| uniform vec4 | shCoeffs [9] |
| SH approximation of the environment irradiance (UBO). | |
| out vec3 | fragColor |
| Color. | |
Skybox shcoeffs fragment shader.
|
inline |
Compute the environment ambient lighting contribution on the scene.