JeanSwamp
Member
Hey!
I've been messing around with different ways of outline shader, and also checking examples of outline shaders. I've tried to apply the logic to fonts, using
This is just fine for pixelart games, however for high res games, 1px outline is not enough, and once the outline gets bigger you start seeing straight lines on the edges. I don't have any screenshot, but I reproduced what I remember happening in Photoshop to showcase what I mean:
Currently, due to not being able to use a shader I am running 8 draw_text to create a smooth outline, and even then sometimes is not very good, depending on font and size.
Has anyone succesfully made an outline shader? Cause I can't seem to find anything on the forums neither on youtube/reddit.
I've been messing around with different ways of outline shader, and also checking examples of outline shaders. I've tried to apply the logic to fonts, using
font_get_texture
instead of sprite_get_texture
and I was somewhat close of getting a working font outline, if the outline was just 1px. This is just fine for pixelart games, however for high res games, 1px outline is not enough, and once the outline gets bigger you start seeing straight lines on the edges. I don't have any screenshot, but I reproduced what I remember happening in Photoshop to showcase what I mean:
Currently, due to not being able to use a shader I am running 8 draw_text to create a smooth outline, and even then sometimes is not very good, depending on font and size.
Has anyone succesfully made an outline shader? Cause I can't seem to find anything on the forums neither on youtube/reddit.