mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-05 14:42:42 -07:00
Made sure alpha sharpen is only applied when the color alpha is at or above 1.0
This commit is contained in:
@@ -231,12 +231,12 @@ init :: proc "c" ()
|
||||
|
||||
shaper_opts := ve.Init_Shaper_Params_Default
|
||||
shaper_opts.snap_glyph_position = true
|
||||
|
||||
|
||||
ve.startup( & demo_ctx.ve_ctx, .STB_TrueType, allocator = context.allocator,
|
||||
glyph_draw_params = glyph_draw_opts,
|
||||
shaper_params = shaper_opts,
|
||||
px_scalar = 1.8,
|
||||
alpha_sharpen = 0.05,
|
||||
px_scalar = 1.6,
|
||||
alpha_sharpen = 0.4,
|
||||
)
|
||||
ve_sokol.setup_gfx_objects( & demo_ctx.render_ctx, & demo_ctx.ve_ctx, vert_cap = 256 * 1024, index_cap = 512 * 1024 )
|
||||
|
||||
|
Reference in New Issue
Block a user