Rendu
A lightweight rendering engine for experimentations
|
Light shadow basic fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec2 | uv |
UV coordinates. | |
uniform uniform bool | hasMask |
Should the object alpha mask be applied. | |
out float | fragColor |
World space depth. | |
Light shadow basic fragment shader.
|
inline |
Output the final depth of the fragment and its square, for variance shadow mapping.