How’s it going UE community? I am currently developing on 4.18 and trying to take advantage of the “DistanceToNearestSurface” node. I have been referencing two attempts that I have found the internet search.
https://www.artstation.com/artwork/9zRna
I have been trying to average either the pixels or pixel normals along the intersection of the meshes. Unfortunately, I have no idea what formulas to even start trying to put together to achieve this.
Some ideas to achieve this that I have but don’t know how to implement are as follows…
- Get the pixels along the intersection of both meshes and either average the color information and/or average the pixel normal information.
- Tessellate the mesh and move the vertices along the hypotenuse between both meshes
- Use some other method without making the material Translucent to achieve this.
It seems that this is a thing that a lot of people want. so I figured making a topic on it so everyone could contribute to a solution…
Thanks in advance for your contributions and hopefully even some guys from Epic might chime in!