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"

[Closed] Is there a way to have a billboard sprite draw in front of everything else?

I'm using a billboard sprite as an icon in my game, but I'd like to be able to see it through static meshes. How would I go about doing this? Is it in the material?

Product Version: Not Selected
Tags:
more ▼

asked Dec 10 '14 at 03:55 AM in Rendering

avatar image

Breakobs
65 11 19 20

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

The question has been closed Jun 12 '17 at 03:59 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hello Breakobs,

What you are looking for is 'SceneDepth' in the material editor. This will allow you to render your objects at a custom depth so you can get the effect you desire. Here is some helpful documentation and tips on how to use the 'SceneDepth' node in the material editor.

Keep in mind, that only translucent materials may utilize 'Scene Depth.'

Depth Expressions Documentation https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ExpressionReference/Depth/index.html#scenedepth

Cheers,

Andrew Hurley

more ▼

answered Dec 10 '14 at 03:24 PM

avatar image Naitguolf Jun 15 '16 at 07:52 PM

But the question is about a billboard, uses textures, not materials. Please, anyone knows a real answer?

avatar image AndrewHurley Jun 15 '16 at 08:28 PM

Regular billboards cannot sort through translucency, as they are static textures. Material billboards can utilize opacity and still be used as an on screen image like a regular billboard. At that point, you can just use the 'Disable Depth Test' option so it is rendered in front of all the objects placed in your scene.

avatar image Mesket Jun 09 '17 at 05:00 PM

but Material Billboards don't work on VR, so we have no solution for this if we are working on VR?

avatar image AndrewHurley Jun 12 '17 at 03:59 PM

You would need to implement your own custom solution in that case. If you have a VR specific issue or question, please create a new post as this one has been answered correctly according to the original posters inquiry.

Thank you,

Andrew H.

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question