tabularelf / gamemaker-kitchen

MIT License
6 stars 9 forks source link

Submission: GML Outline Shader #119

Closed tabularelf closed 3 weeks ago

tabularelf commented 3 months ago

What kind of resource is this?

Library

If other was selected, what is it?

No response

Logo

No response

Description

Outline shader system

Authors

Grisgram

Link to your resource

https://github.com/Grisgram/gml-outline-shader-drawer

Tags

outline, shader

Post

This shader is based on a Version of @JujuAdams, credits to him for the basic implementation to draw a sprite outlined. He helped me in implementing varying outline strengths, and I took over from that point.

The shader now offers rich functionality and supports even drawing of rotating sprites, by using their bounding box to set up the surfaces needed to draw the correct outline and it also offers Alpha Fading and Pulse animations.

What versions does your resource support?

What platforms has this been tested on?