[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?
asked Dec 10 '14 at 03:55 AM in Rendering
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
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
answered Dec 10 '14 at 03:24 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here