SamSuka
shaunjs
shaunjs

patreon


Outline shader tutorial

Going into some detail about how the pixel outline shader works. There's not a lot of code in this one, which I shared directly on twitter yesterday:

https://twitter.com/shaunspalding/status/880070685153951744

publicly released tomorrow but feel free to share =)

Platformer stuff continues next week as discussed before!

-S

Outline shader tutorial

Comments

Shaders are compiled in a different language to GML, they're GLSL and it is much more strict. You need every line properly ended with semi colons. Other than that to check I'm not sure what to advise without seeing for myself :(

Great

Illuminati Games

Mmm I get a weird error on the fragment shader, but the code is correct, it says " Fragment Shader: shaderOutline at line 19 : '+' " " Fragment Shader: shaderOutline at line 19 : ' ' " weird, I even erased those lines, and nothing was on line 19 and still got those errors at the same line, I cleared the cache too just in case.

Raeldor


More Creators