x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do you remove overlapping decals?

I have 2 turrets that both have decal components to show their ranges. My problem is that the range decals overlap and also get darker at the overlap.

Here is what they look like in game: alt text

What I am hoping for is for the piece(s) of the circles that is in their collective range to not be shown. Here is a quick MS paint drawing to show what I mean: alt text

Here are also the pictures of my range decal material and turret actor object: alt text alt text

Any help would be greatly appreciated.

Product Version: UE 4.14
Tags:
ingame.png (558.2 kB)
circles.png (16.1 kB)
decalmaterial.png (327.9 kB)
turretobject.png (332.3 kB)
more ▼

asked Mar 09 '17 at 10:47 PM in Rendering

avatar image

BackSun
33 3 8 11

avatar image dZh0 Jul 12 '18 at 10:29 PM

This will be quite a task. I don't really know how to do it but I can speculate a bit.

To cut the line (circle) in the decal, the said decal should know about the position of all the other decals and vice-versa. This actually makes it inconvenient to have the decals as/in separate objects. You should probably make it all in one big decal, project it from an actor (if even possible) or make some kind of manager class that handles and notifies the range circles about all other range circles.

This is stretching the limits of my knowledge already so I will end it here :)

avatar image 420Hydrogen69 Oct 23 '18 at 01:51 AM

I'm having the same problem, lmk if you found any solutions and I'll do the same if I find any :)

avatar image engelmanna Oct 23 '18 at 02:19 PM

I don't think you'll be able to solve this with decals. This looks more like a stylized fog of war effect. I'd look into different fog of war solutions and see if you can't stylize it to match your current look.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question