Jump to content

Paint.NET Glow Blend Question

Recommended Posts

At Layer Properties, there are several different blend modes. I have a particular fondness for the "Glow" blend function. I have been trying to program something that does the same effect, however I have not been able to find much information on how the blending equation works.


Before I try digging through the old Paint.NET source code, I'd like to know if anyone here eithers knows how it was implemented or resources that explain how effects like it in other paint programs work. Sorry if this is not a question I should be asking or something... I'm not really sure.


Thanks in advance,


Link to comment
Share on other sites

From my ebook...


The Glow blend mode squares the upper layer value and divides it by the inverted lower layer value.



Stringer, Scott (2012-09-27). Mastering Paint.NET 3.5.10 (Kindle Location 9254). Scott Stringer. Kindle Edition.


So the resultant RGB value is found from 




The other blend modes are also detailed in the ebook.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...