I want to make Energy Shields blend with eachother

I am making an energy shield material for my game and I want to make that, when two of them intersect, the intersected part becomes invisible and they blend with eachother seamlessly.

I need help archiving this efect, this is how it looks right now:

And I want something like this:

Can anybody help me with this? :slight_smile:

Not sure if this is still possible in unreal (forward and deferred rendering)

but back then you could use zbuffer to check which one pixel is closest to camera and render only that one.

now with current materials it would require some magic with Custom dept pass on meshes, then scene depth in material, and depth fade. Did not do such material since 4.15 or so, when they dropped bunch of features in materials.

Thanks for your answer, I will try that!

You could also get C++, make function library (easy), then make code for merging spheres (all you need is location and radius for shield spheres. Code may be bit complicated, but doable.

That can (maybe, did not check it) be doable with latest procedural created content plugins.