View Single Post
Old 19 June 2017, 15:21   #15
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,374
Quote:
Originally Posted by Minuous View Post
Is there a description of the "add glow" algorithm (as used by IconEdit) anywhere? The innermost three glow layers are straightforward but the outermost one seems to follow a different rule, only half the pixels that would be expected are lit.
I don't have a definitive answer, but to me it looks like it's a very simple checkerboard dither for the outermost layer - you can see it in curved icons, where there aren't any pixels in the outermost layer in areas that coincide with a 45 degree line of "blank" pixels in the checkerboard. So it looks like it would be a case of placing a pixel if the LSB of the X value matches the LSB of the Y value, otherwise leave it as colour 0. That's where I'd start anyway...
Daedalus is offline  
 
Page generated in 0.04685 seconds with 11 queries