I have created a “enemy is selected” effect which is basically a circle at their feet. But it is occluded by the terrain when it is not flat. Whats the best way to have the selector effect sit on the floor and contour to it?

I have created a “enemy is selected” effect which is basically a circle at their feet. But it is occluded by the terrain when it is not flat. Whats the best way to have the selector effect sit on the floor and contour to it?

Is that actual geometry you’re using? It seems like a projector with a decal shader would be a better way.
You could even get fancy and use a render texture as the source, thereby having an animated selection circle like in ArcaneFX.
Its actually a particle effect…
I will look at that link. Thanks.
Hmm that’s not working (using Decal or any other shader) I get huge weird textures overlaying the terrain, even though I am using a projector or size 1 (should be like a small shadow).
Anyone else used a projector for an “enemy selector”

I believe they are used for blob shadows in unity indie, so you might be able to use that as a reference. It should be in your standard assets folder.
Yes but I assumed since you mentioned them as a solution that I could change the shadow to a custom texture, but when I try I get the above shown screen.
I’ve had various problems with projectors \ textures as well. I can’t recall the resolution, but I’ll look into it tomorrow and try to reply on the issue I encountered and the solution.
Did you ever get this to work?
I created a blob shadow with a texture which works, but I am not really satisfied with it. The projector shader is too dark, and I couldn’t get the other projector shader from the Wiki to work properly. I would like to be able to do an animated texture in place of the texture on the blob shadow, but am not sure how to do that.
Actually I put it onto the back burner, but will be tackling it again in the next two weeks. I will keep you posted if I ever get it working.