Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Frag::Font_sdf Class Reference

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.
 

Detailed Description

Font sdf fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

uniform uniform uniform void GPUShaders::Frag::Font_sdf::main ( )
inline

Find the isolines of the corresponding glyph to display it on screen.


The documentation for this class was generated from the following file: