Sprite SDF Tool

Started by
3 comments, last by xycsoscyx 6 years, 9 months ago

Does anyone know of a tool that converts PNG's into an SDF (Signed Distance Field) usable texture? I've seen a few tools for fonts but nothing specifically for single sprite textures.

This is a sig....
Advertisement

You can make them with photoshop very easily. It's algorithms are fast too!

http://www.horde3d.org/wiki/index.php5?title=Preprocessing_Technique_-_Distance_Field_Vector_Textures

Thanks man! Sadly I don't own photoshop and was hoping to find an already made command line tool before attempting to make my own. 

This is a sig....

Just to note, all of the steps in the link that Hodgman posted are not specific to Photoshop, you can do the same thing with free software like Gimp.  If you just want a command line method, you could perform the same steps via ImageMagick as well, potentially all from a single command line.

This topic is closed to new replies.

Advertisement