|
Rendu
A lightweight rendering engine for experimentations
|
Font sdf vertex shader. More...
Public Member Functions | |
| void | main () |
Public Attributes | |
| in vec3 | v |
| Position. | |
| in vec2 | uv |
| Uv coordinates. | |
| uniform vec2 | position |
| The position of the anchor point on screen. | |
| uniform float | ratio |
| The screen aspect ratio. | |
| out vec2 | uv |
| Texture coordinates. | |
Font sdf vertex shader.
|
inline |
Compute the 2D position of the glyph on screen.