Anyone know how to reproduce photoshop's color dodge in shake?
I used to have a list of all the blending modes formulae, but can't find it.
Anyone know how to reproduce photoshop's color dodge in shake?
I used to have a list of all the blending modes formulae, but can't find it.
Add comment viewed 178 times Latest activity 10 months ago
Here you go:
http://www.nathanm.com/photoshop-blending-math/
I think that this LayerX node should do it for you:
LayerX1 = LayerX(0, 0, ((r == 1.0) ? r:min(1.0, (((int)(r2*255) << 8 ) / (255 - (r*255)))/255)),
((g == 1.0) ? g:min(1.0, (((int)(g2*255) << 8 ) / (255 - (g*255)))/255)),
((b == 1.0) ? b:min(1.0, (((int)(b2*255) << 8 ) / (255 - (b*255)))/255)),
a, z);