Hi,
does anyone managed to do a poisson blending shader for unity using GrabPass ?
http://blog.ruofeidu.com/interactive-poisson-blending/
http://cs.brown.edu/courses/csci1950-g/results/proj2/edwallac/
thanks for your input!
Hi,
does anyone managed to do a poisson blending shader for unity using GrabPass ?
http://blog.ruofeidu.com/interactive-poisson-blending/
http://cs.brown.edu/courses/csci1950-g/results/proj2/edwallac/
thanks for your input!
Would you like to have only pure shader or full version with mouse and keyboard support (if you think about direct translation from Shader - Shadertoy BETA to unity).
I am too busy right now, but later I am going to help you.
Meanwhile, here you are my another example, where I translated Shadertoy’s shader to unity using GrabPass:
original source: https://www.shadertoy.com/view/llK3Dy
and Unity version Unity3D-CG-programming/rhodium.shader at master · przemyslawzaworski/Unity3D-CG-programming · GitHub
If you want to pass mouse coordinates to shader , you should read about sending data from C# scripts to them:
for instance, method Material.SetVector etc:
Hey man! thanks for the answer.
i don’t need the keyboard and mouse support, i actually forgot it was on the shader toy example.
i am looking to do seamless cloning of one texture on the grabpass texture
(grabpass <== blur * texture <== high pass filter)
like explained on those paper
http://cs.brown.edu/courses/csci1950-g/results/proj2/edwallac/
http://www.cs.virginia.edu/~connelly/class/2014/comp_photo/proj2/poisson.pdf
thanks for your help!
different technic