Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDF Font generation #1333

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Conversation

marauder2k7
Copy link
Contributor

needs work but the basic groundwork is there

backup before a rip my hair out.
SDF Generation works but is generating incorrect output.
sdf fixed had to use an upscaled original glyph....
added shader in hlsl to render the font on screen statics for now but will become uniforms for customisation.
some tweaks and docs added to the shader
also removed previous debug alpha check and added a discard
fix spacing size.
use spread function instead of fixed value
move all the * 0.25 to gfont so its centralized for later
added a debug view to gfxFontRenderBatcher
updated font glyph metrics for padding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant