Skip to main content
2 events
when toggle format what by license comment
Sep 14, 2010 at 18:24 comment added user744 This kind of shader is surprisingly annoying to write, I've heard (we used it in one of our 3D games and kept running into unsightly edge cases). One thing you might want to consider is encoding the outline directly into the sprite texture with a specific color like (0, 255, 255, 0), and just have the shader transform that color when the sprite is selected. Then the shader is a trivial color change, and you have a high level of artist control over the outline and any details you want.
Sep 14, 2010 at 18:06 history answered Iain CC BY-SA 2.5