Rendu
A lightweight rendering engine for experimentations
|
Menu image vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
uniform vec2 | position |
Image position. | |
uniform vec2 | scale |
Image scale. | |
uniform float | depth |
Image Z-layer. | |
out vec2 | uv |
Texture coordinates. | |
Menu image vertex shader.
|
inline |
Compute the position of the menu image on screen.