Feedback

What's your question?

By: [ Editor ] Asked

Reproduce Color Dodge in Shake

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

or Cancel

1 answer

  • 5

hugh_gid [ Editor ]

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);
NN comments
hixster
-

Cool! Next question, how do I add that to the layer X node?

sambo
-

That IS LayerX, just paste the entire post from Hugh into shake.

or Cancel