Rendu
A lightweight rendering engine for experimentations
|
Box blur cube vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
out vec3 | pos |
Position. | |
uniform vec3 | up |
Face vertical vector. | |
uniform vec3 | right |
Face horizontal vector. | |
uniform vec3 | center |
Face center location. | |
Box blur cube vertex shader.
|
inline |
Generate one triangle covering the whole screen, with according positions and cubemap positions based on vertices ID.