sakiodre
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
misc/freetype/README.md
|
|
@ -12,7 +12,7 @@ Build font atlases using FreeType instead of stb_truetype (which is the default |
|
|
|
### About Gamma Correct Blending |
|
|
|
|
|
|
|
FreeType assumes blending in linear space rather than gamma space. |
|
|
|
See FreeType note for [FT_Render_Glyph](https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Render_Glyph). |
|
|
|
See FreeType note for [FT_Render_Glyph](https://freetype.org/freetype2/docs/reference/ft2-glyph_retrieval.html#ft_render_glyph). |
|
|
|
For correct results you need to be using sRGB and convert to linear space in the pixel shader output. |
|
|
|
The default Dear ImGui styles will be impacted by this change (alpha values will need tweaking). |
|
|
|
|
|
|
|