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 can I customise quad depth testing?

I have some very simple billboard sprites that I'm mixing with some simple 3D polygonal terrain. I have some cliffs that are near the sprites. Currently when the sprites are too close, they clip into the terrain, like the diagram below.

What I'd like to happen is for them to "pop" so they're either completely in front of or completely behind other meshes, whether that's other billboard sprites, or pieces of the ground/cliffs. Probably based on the world position of the bottom-center of the billboard sprite, compared against some part of the other mesh..?

Is there a way of achieving this? As far as my limited graphics knowledge goes, it seems it's impossible... is there a way?

alt text

Product Version: UE 4.16
Tags:
depthtesting.jpg (26.8 kB)
more ▼

asked Jun 12 '17 at 11:47 AM in Rendering

avatar image

benhumphreys
108 15 24 32

(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