Outline shader - [Game Maker Studio 2 | Epic]
1up Indie
This epic video tutorial shows you how to make an outline on a given sprite with a shader in GameMaker Studio.
Idea behind the whole procedure is quite simply. Take the area of the sprite which is transparent. There we have 4 checks. Each check checks if there is one unit (one texel) to the left/right/bottom/up from the current position an texel that isn't transparent. If that is the case draw on this empty space a colored pixel.
Outline shader "original" code: by GameMaker Casts https://www.youtube.com/watch?v=3CjdkRid5dA
Free outline (from this video) shader code found here: https://www.patreon.com/posts/outline-shader-42396444
Shader basics: www.youtube.com/watch?v=tKnO2kMWUOY
Texture page: www.youtube.com/watch?v=DBrGo0YFla0
ā¶ Gamemaker Studio: https://www.yoyogames.com/get
ā¶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
š® My free game Clunky souls: https://1up-indie2.itch.io/clunky-souls š My assets: Get some assets at itch.io https://1up-indie2.itch.io/
š Support me and get fresh game art and game maker projects every month: https://www.patreon.com/1upindie
Follow me on: šø Instangram: https://www.instagram.com/1upindie š¦ Twitter: https://twitter.com/1upIndie š¬ Discord: https://discord.gg/gvr98nb š Udemy: incoming ... https://www.youtube.com/watch?v=HrxFB6G3yNU
103660018 Bytes