Chlumsky / msdfgen

Multi-channel signed distance field generator
MIT License
3.91k stars 404 forks source link

SDF and PSDF produce the same texture #94

Closed oomek closed 4 years ago

oomek commented 4 years ago

Maybe I do not understand something, but it looks like the psdf switch does not work. I compared high resolution sdf and psdf outputs and they look exactly the same with rounded corners. Shouldn't psdf output have sharp corners? image

Chlumsky commented 4 years ago

You need to provide the data you used to generate this.

oomek commented 4 years ago

It's barlow condensed font

Chlumsky commented 4 years ago

The font has rounded corners.

oomek commented 4 years ago

I know, but the roundness in the font is miniscule compared to the roudness applied to the texture

Chlumsky commented 4 years ago

I have no idea what kind of output you're expecting. It's not going to magically redesign the font or decide that some curves are too small and just cut them out.