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"

Only render part of custom depth buffer based on overlap

Hi guys!

We're trying to achieve a kind of radar which only shows certain meshes behind it, like this:

alt text

The issue is, the radar's "red area" is not static but dynamic, wobbling in front of player. So we need to either make the radar only render certain objects in xray vision, or save them to custom depth buffer and create a mask dynamically from the radar's shape. Either mesh or UMG.

The first picture in this link, the "Filter all except stencil 1" is exactly what we're after - only show parts of a certain mesh while within a certain area. But there's no info on how that specific effect is achieved, we checked the source, there's only non-local xray setup which makes objects visible through any wall, we want them visible only through one single mesh/UMG that player has as part of UI.

Any ideas on what we can do?

Product Version: UE 4.9
Tags:
more ▼

asked Aug 26 '16 at 07:39 PM in Rendering

avatar image

Araklaj
50 5 10 15

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

1 answer: sort voted first

Perhaps buying this plugin and examining how it works would help: https://www.unrealengine.com/marketplace/outliner

I am not affiliated with the plugin or its author, but I have purchased it and used it before.

more ▼

answered Aug 26 '16 at 07:45 PM

avatar image

CleanCut
2.1k 67 84 77

avatar image Araklaj Aug 26 '16 at 09:01 PM

Thanks for the suggestion! We can do all that already, but not make the outline appear only when the object is behind one specific mesh, but not others.

(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