I found this effect: Shader - Shadertoy BETA and want to recreate something similar in Unity3D. How would I go about it best? It would probably be two separate objects, a plane (and a sphere? maybe?). I was hoping to create a sphere thing as shown that, when touched, will fall/break apart/something similar when touched. I can do all the logic behind movement and whatnot, I am only struggling with how to do the shading/materials side of it. Where would be a good place to start and look at? Any help would be greatly appreciated, thanks :).
This is a SDF (signed distance field) shader which is a different rendering technique than what Unity uses (rasterization).
However, you could copy the shader, translate it to HLSL and run it as a full screen pass. It would look exactly the same but you couldn’t do anything with it.
I assume you want to do something with the object. In that case, I would render a sphere with a displacement shader.But it will look a bit more angled than the SDF version and you can only do the “wobbly sphere” part of the effect. Making the sphere dissolve or merge with the ground is very difficult with rasterization.
By the way, if you want to learn more about SDFs, Inigo Quilez (co-founder of shadertoy) has some amazing videos and articles: