Thread: HAvsFunc
View Single Post
Old 12th March 2020, 15:50   #513  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by HolyWu View Post
Added. But I don't see "screen" as one of the modes in http://avisynth.nl/index.php/Overlay
Thanks!

"screen" is not in the overlay avs version, but it's one of the more common compositing/photoshop blend modes used

rr42 translated some here for uu_mt_blend based on maskttools, and there are some links to the math behind them in the 1st post. I don't think that version supports different bit depths

https://forum.doom9.org/showthread.php?t=170490
https://photoblogstop.com/photoshop/...odes-explained

Code:
Screen 	
1−(1−A)×(1−B) 	
A inverted multiplied by B inverted, and the product is inverted
poisondeathray is offline