Blender Git Commit Log

Git Commits -> Revision 987c56c

Revision 987c56c by Clément Foucault (master)
April 7, 2018, 22:44 (GMT)
BLF: Opti: Draw only one quad per shadow/blurred glyph.

This port the Blurring of blf fonts to the final drawing shader.

We add a bit of extra padding to each glyph so that jittering the texture
coord does not sample the neighbor glyphs.

Commit Details:

Full Hash: 987c56c4b6150afb67af245f7d71bc965ed5ffc8
Parent Commit: 1a33707
Lines Changed: +135, -65

4 Modified Paths:

/source/blender/blenfont/intern/blf_glyph.c (+38, -56) (Diff)
/source/blender/gpu/shaders/gpu_shader_text_frag.glsl (+85, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_text_geom.glsl (+6, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_text_simple_geom.glsl (+6, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021