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"

Custom Depth for opaque material

Hey guys,

I am trying to use unrealAR plugin to develop sth. I want to achieve the occlusion between real and virtual objects. One viable way is to pre-render the mesh of real objects into depth buffer and then render the virtual objects which should pass that depth buffer. I ve tried CustomDepth but it does not available for opaque material.

I achieved following effect. I want to know how to give the chair an opaque material instead of translucent. Any idea? alt text alt text

Another viable optioin is to control what part of the object should be rendered. Is that possible?

Product Version: UE 4.13
Tags:
more ▼

asked Mar 11 '17 at 08:08 AM in Rendering

avatar image

gardenlee_27
11 3 4 5

avatar image Kalle_H Mar 12 '18 at 02:47 PM

We really need this too. There should't be any technical reasons to not to allow this. Custom depth is totally separate rendering pass so there isn't any dependencies. Seems that only reason is that CustomDepth is under the scene texture which can be used for scene color and other buffers that are only available after basepass.

avatar image Deathrey Mar 13 '18 at 07:37 AM

I don't see any reason either why you would not be able to read custom depth in material, that is not writing to it. Should be fixed.

avatar image Chosker Apr 18 '18 at 08:36 PM
  • to this!

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

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