How can I create moving lights or images outside a train window?

Hi all, I am fairly new to Unreal, just wondering how to create the moving lights or images outside the train window, like in the video.

STAR WARS JEDI FALLEN ORDER Gameplay Walkthrough Part 1 FULL GAME Jedi Master - 60FPS No Commentary
https://www.youtube.com/watch?v=Y1bWJhvneyI

Thank you

This topic has been moved from Development - Character Animation to Development - Lighting and Rendering.

The title has also been changed from STAR WARS JEDI FALLEN ORDER Gameplay Walkthrough Part 1 FULL GAME Jedi Master - 60FPS No Commentary to How can I create moving lights or images outside a train window?

When posting, please review the categories to ensure your topic is posted in the most relevant space, and please ensure the title of your post is relevant to your question. :slight_smile:

Hey @iseiji! Welcome to the forums!

I tried to follow the link to see what it is you’re going for, however the video is a solid 12 1/2 hours long! Please link with a timestamp and we may be able to get back to you more effectively, it’s hard to know what you’re talking about without an accurate reference. :slight_smile:

Hope to hear back from you soon!

1 Like

I agree! Specificity is key. We can’t see into other’s minds.

Anyway, I think the the person is referring to around the 13:00 mark.

In which case, it depends on their needs, no?

If the object is ACTUALLY moving in space, it’ll take care of itself (assuming they are moving the characters on a train.) They can add a bit of motion blur and/or bloom to get the desired lighting effect.

If it is purely for a cut-scene, then all they’d need to do is set the camera in tactical locations and slide the same light asset past the window at timed intervals, over and over.

1 Like

Sorry guys, my bad, yes it is around 13:00 mark, 14:53 to be specific,

This is for a cinematic shot I am testing on, I guess the second method according to Leomerya12 is what I am after, but how exactly do I do that with the same light asset? Also what if it’s actual scene outside the windows, like mountains and trees, is there a less expensive way to do it without actually creating a giant set?

1 Like

Okay, so there are a few ways you can do this.

Because it is a scene, I would use the LEVEL SEQUENCE editor.

If you do not already know how to use it, then you’ll have to put this project on pause and look up a video that teaches you the basics of the system.

However, assuming that you do know how to use it, you could KEYFRAME the light to pass by the window, then move the light out of view of the camera, and then pass the light past the window again. (There’s a reason why they set this scene in a dark, minimally dressed location; likely the cave itself is a material with a “motion function” [like the motion functions used to create water materials], and that the train isn’t moving at all!).

An example of the light passing in and out of frame would look something like the Moon revolving around Earth (where the lit side of Earth is the point of view of the camera).

If you want to have a scene that is outside (again, notice that they decided against that… at least, for this scene), then you can create a PACKED LEVEL INSTANCE or GROUP that acts like a conveyor belt as it passes through the camera. (If you do not know these concepts, then you’ll have to look them up first.)

I created a short video (FILMORA 12) showing how PARALLAX motion is utilized to get your desired effect.

The trees represent your PLI/G, and you are going to pass them along the camera, then out of view, and reset them (notice that I use the SAME THREE groups of trees for this effect). The train will be moving VERY SLOWLY, but will appear to move quickly because of the foreground elements. The background elements will shift with respect to the train. (You COULD technically keep the train motionless, and move the landscape, but that sounds like a terrible idea for performance and practicality).

Make sure to reply DIRECTLY so I can get the notification.

1 Like

Awesome, I will give this a try, thank you so much :smiley:

1 Like

You’re very welcome and good luck!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.