Rendering SDFs (And Applying Font Effects) | Font Rendering in Java #5
Join the Discord: https://discord.gg/4tHeAkxNg7
This is the last episode in the font rendering series (for now), and in this episode I go over how to render the sdf texture using a special shader. I then go over several different effects we get for free because of the SDF (outlines, glow, and bold/thin text). I only go over this using one character, because I think the concepts covered in previous videos would allow you to extrapolate this method and generate an entire font using SDFs.
Msdf Generator: https://github.com/Chlumsky/msdfgen
Source Code: https://github.com/codingminecraft/FontRendering/tree/92634abfe6bb1e8026d76e861e9eeb2f30054891
0:00 Intro
0:57 Uploading the SDF To the GPU
2:57 Drawing the SDF Texture
6:57 Creating the SDF Shader
10:21 Applying Effects in the Shader
---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe
Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)
My Recommended Game Engine Books:
Game Engine Architecture: https://www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): https://www.amazon.com/Game-Physics-Cookbook-Gabor-Szauer/dp/1787123669
Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-Engine-Development-Commercial-Grade/dp/0123819768
Game Programming Patterns (Free): https://gameprogrammingpatterns.com/
My Recommended Beginning Game Programming Books:
JavaScript Game Design: https://www.apress.com/gp/book/9781430247166
My Recommended Java Books:
Data Structures/Algorithms: https://www.amazon.com/Data-Structures-Algorithms-Java-6th-ebook/dp/B00JDRQF8C
LWJGL (Free, but I haven't read this thoroughly): https://lwjglgamedev.gitbooks.io/3d-game-development-with-lwjgl/content/