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 to make lights that affect my particle effects (fog)?

Hi guys, I have some particle effects in my scene, they are just fog examples, and I want that the color of the fog will change under directional lights. For example:

alt text

How can I do that?

Product Version: UE 4.10
Tags:
more ▼

asked Mar 22 '16 at 12:57 PM in Blueprint Scripting

avatar image

Marco I.
19 7 9 12

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first
more ▼

answered Mar 22 '16 at 01:18 PM

avatar image

ekhart
23 1 2 2

avatar image Marco I. Mar 22 '16 at 02:05 PM

Great! I forgot to check the Content Example level.. but one question: since I'll probably run the project also with Oculus Rift (DK2), there is another way more "lighter" to don't lose too much FPS? I don't care if that's not realistic, I can do a lot of compromises for the OCULUS version of the project.

avatar image Marco I. Mar 22 '16 at 04:26 PM

Ok I tested it, and for some reason, it doesn't work. I made every single step, and I also tried to export the assets in my scene, but the particle effect refuses to change the color.

I'm missing something..?

avatar image ekhart Mar 22 '16 at 04:30 PM

I don't know for the lighter version of it. Maybe GPU particles could help? Also, for the colors of the particles, maybe the solution is in the material part, not the particle. Do you have a particle color node on it?

avatar image Marco I. Mar 22 '16 at 04:34 PM

I copied the exact material of the ContentExample level.. everything is the same, that's why I'm getting mad of what I made wrong. It's possible that maybe something external like a post process volume could be determinant to reach that result?

avatar image Marco I. Apr 11 '16 at 02:12 PM

I forgot to mark this question as resolved thanks to @ekhart, that provided a great example. Initially this didn't worked because I had extra custom settings for my oculus performance.. doh! :) Now works great! :)

(comments are locked)
10|2000 characters needed characters left

The particle cave example has a fog-sheet, and also a few god-ray sheets. check them out, they are the way to go and achieve this effect.

more ▼

answered Mar 23 '16 at 01:14 AM

avatar image

Luos
9.1k 282 62 327

avatar image Marco I. Mar 24 '16 at 10:23 AM

Thank you, but that's not what I'm looking for. I'd like to recreate the exact same thing that is present in the ContentExample, do you have any idea how to recreate that?

avatar image Luos Mar 24 '16 at 11:44 AM

well yea.. you look at the one in the content examples, and you recreate it.

(comments are locked)
10|2000 characters needed characters left
Your answer
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