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 on Additive Material?

My goal is to always render my additive material (a volumetric fog material) behind any objects in the scene, except the sky sphere. Since the material must be Additive, I cannot use the Pixel Depth Offset pin in the material, nor the Scene Depth node. I can't use Translucency Sort Priority either for the same reason.

For context, I'm this material is for a Northern Lights particle system. In order to get the perspective right, the system must be close to the character. Unfortunately this also allows the system to occlude other surfaces in the scene, revealing that the Northern Lights are not super-massive, but instead just close to the camera.

Any suggestions are welcome, even if they are not full solutions. Thanks in advance.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 24 '18 at 04:04 AM in Rendering

avatar image

Atlas35
1 1 2 2

avatar image NeoHS Jun 10 '19 at 01:07 PM

Did you find a solution or alternative?

avatar image Atlas35 Jun 10 '19 at 01:33 PM

Unfortunately no. I just moved on to something else. I've been thinking of using trueSky source code and adding a northern lights effect through their system, as that would probably make my job easier. But other than that, no I have no solutions yet.

(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