Rendu
A lightweight rendering engine for experimentations
|
Probe debug fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec4 | pos |
World space position. | |
in vec4 | nor |
Normal in world space. | |
uniform uniform uniform vec4 | shCoeffs [9] |
SH approximation of the environment irradiance. | |
uniform vec3 | camPos |
Camera position in world space. | |
uniform float | lod |
Level to fetch. | |
uniform int | mode |
Display mod. | |
out vec4 | fragColor |
Color. | |
Probe debug fragment shader.
|
inline |
Use the normalized position to read in the cube map.