cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

operations math node

operations math node

Hi, 

 

Can we get a simple native math node that does the color blend operations (darken, lighten, screen, etc.) with n inputs for simple weight calculations? The math behind them is very elegant for solving problems like weight activation. Now we are using layered texture nodes but they feel slow and more made for textures, also a pain to set up. it's very useful for dealing with neural networks etc.

 

the names are misleading but the math is great, these are some others from Photoshop:

https://photoblogstop.com/photoshop/photoshop-blend-modes-explained

Color Burn, Linear Burn, Color Dodge, Linear Dodge, Vivid Light, Linear Light, Hard Mix and Difference

 

ie. lighten is great for activation of multiple weights where all need to be active. Darken is the opposite.

 

I'm sure there are other formula's that can fit this node, I'm thinking of Median, Mean, Average, (i know this is in the plus node but it feels out of place), mode, sum of squares,  difference of squares...  these a are more statistic formulas but also very useful to have! i.e. a cache node with these could give very interesting effects like dampening. Also very useful for RBF solving.

 

Maybe add some scaling or normalization in there in case of dealing with other values above 1 or below 0.

 

thanks

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea