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 to make unit selection circles merge?

I would like to know how to make this effect of merged circle selection.

alt text

In Unity I used the Stencil Buffer for this (2 Passes).

In the first pass, I defined the Stincel areas (used to define drawablety)

In the second pass, I renderd the circle on the areas without "stincel values"

alt text

eg the green area is the stincel buffer mask and the red one is the decal area

How can I archive this effect in UE4?

Product Version: Not Selected
Tags:
more ▼

asked Mar 10 '15 at 09:31 PM in Rendering

avatar image

Spy-Shifty
3 1 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You might be able to do this by rendering some circles to the custom depth buffer and then performing an edge filter on that buffer to get the edges you want, and then multiply that with your outline shader.

It definitely won't be as easy as using a stencil buffer. To use a custom stencil buffer you are going to have to get down and dirty with the UE4 shader code and drawing pipeline.

more ▼

answered Mar 10 '15 at 09:40 PM

avatar image

Allar
3.1k 51 120 487

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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