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"

Rendering mesh "on top" of everything else?

My project is using 3D playing card meshes. Our card mesh has multiple materials to cover various parts of the card, some of which are "User Interface" materials. We have it set up this way in order to do some UMG trickery involving dynamic text rendered onto the face of the material.

Now since these are in fact 3D playing cards, and our scene is a 3rd person level, simply placing these cards in front of the camera every frame is not only expensive, but also causes clipping or Z-fighting between the cards and the 3D environment (when the camera moves around). Is there any way to have these cards always render on top of everything else in the scene?

Bear in mind... Setting the material to transparent to disable depth test will not work, since many visible parts of the card are "User Interface" materials. So AFAIK, Custom Depth or Stencil is also not an option (I'm assuming). Could this be a reasonable situation to use an offscreen render target? And if so, how could the user interact with these cards if they're offscreen?

Product Version: UE 4.15
Tags:
more ▼

asked Apr 09 '18 at 05:13 AM in Rendering

avatar image

MichaelWion
250 27 40 50

avatar image Ixiguis May 09 '18 at 10:03 PM

I would like to know this as well. Translucent material is not an ideal solution for me too.

(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