mirror of https://github.com/ocornut/imgui
Docs: Fix outdated link in freetype docs (#6568)
This commit is contained in:
parent
1029f57b8a
commit
dcdb145713
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue