Rendu
A lightweight rendering engine for experimentations
|
Light shadow variance 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 vec2 | fragColor |
Depth and depth squared. | |
Light shadow variance fragment shader.
|
inline |
Output the final depth of the fragment and its square, for variance shadow mapping.