Rendu
A lightweight rendering engine for experimentations
|
Font sdf fragment shader. More...
Public Member Functions | |
uniform uniform uniform void | main () |
Public Attributes | |
in vec2 | uv |
Texture coordinates. | |
uniform vec4 | color |
The inner glyph color. | |
uniform vec4 | edgeColor |
The outer glyph color. | |
uniform float | edgeWidth |
The outer edge width. | |
uniform out vec4 | fragColor |
Color. | |
Font sdf fragment shader.
|
inline |
Find the isolines of the corresponding glyph to display it on screen.