Adding A Border To My Spherical Material

So I’m working on a game where the player must collide with a zone (I’m using a spherical collision) in order to gain points. Problem is I want to zone to be very obvious that it’s a zone so I want it outlined in some color and possible style.

I created a material and am eventually turning the material completely opaque in the behind the outlines but have the outlines stay bright. Any idea how I could do that?

Here are some pics of what I mean first in no translucence and then at 0.75 transluscence:






I would also like an animating rotation to it so I might just use a basic rotator component to the static mesh I’m applying this material to but I’m wondering if the material would still work with something like that?

Hi Kyro, Welcome to the Forums.

Take a look at the Fresnel material node for another approach to borders on spherical materials.

Give this tutorial series a watch to lay a foundation for your material knowledge.

Knowledge of lerping, multiplying, adding (maybe even masking and subtracting) should get you where you want to be, let us know if you’re still having trouble though.

Awesome, thanks I’ll give it a look!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.