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"

Is a way to use the particles as a way to drive the light function?

So for a visuals test that we made we decided to light the majority of the scene using torches that use particle lights. While this lights quite well they don't cast shadows which while a bit of a bummer is understandable.

So my question is whats the best way to gain the visual appeal and relative realism of the particle lights but have shadows cast as well?

I have looked into it a fair bit and my pseudo attempt uses a light function with a stretched texture with a pannier to create a "flicker" effect but I'm not really that happy with the results. I was wondering if there is a way to use the particles themselves as a way to drive the light function? (number, position, etc.)

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 05:47 AM in Rendering

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

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

1 answer: sort voted first

Hi Aidan,

I found a way that you can mimic this effect. The particles themselves cannot cast a shadow, but if you go into blueprints and create the torch (components>set particle system), then add a point light in the center. Change the color of the light to fit the fire. Go into graph and set it up so that on a tick a timeline continuously loops. You need to use dramatic numbers in the timeline to get any significant results, but set the output of the timeline to affect the brightness of the point light. By doing this it will create a flickering effect that loops continuously as the torch burns. It is a bit of a process but it does give the illusion of flickering shadows. Please let us know if you have any other questions.

-Adam

more ▼

answered Mar 11 '14 at 05:47 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:47 AM

In addition to that, you may want to increase the Min. Roughness value of the light so that it doesnt show on reflective surfaces with low roughness values.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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