UE5.5-Mega lights 101
- ychen3129
- Feb 14
- 2 min read
Introduction
This is a quick Rnd to test unreal engine 5.5ʼs new feature: mega lights
Final result
Without the mega light (the scene runs around 66 FPS/15.0ms) VS Mega light on ( runs around 120 FPS / 8.3ms)
Project setting
First, Enable mega light in the project setting

Enable hardware raytracing

Overwrite your setting through postprocessing volume allow infinite extent Unbound) if we want to effect everything in the scene

Enable mega lights

For individual light actors we can also toggle mega lights feature on/off

Example 1
Use Rectangular light to cast screen light into the scene Use mega light with texture or media texture
Import mp4 or png image sequences to the content browser as media sources

Create media player for the source video


Set the loop to true

create a screen with cube

Drag the texture onto the scene mesh, that would auto-create a material

Link the RGB to emissive color in the material

Select the cube and convert it into a blueprint

Select static mesh actor

We'll just do a very simple blueprint to play the video

Go to the Detail pannel, set the target player and media source

Play the scene

Add an area light(rectangle light) behind the screen scale source width and height to match the screen

For the source texture, select the same screen texture

Place it in front of the screen, bring up the intensity of the light

Tada
We finished our first screen set up
Now let't get to the fun part. We are going to test hundred of the screens with mega light
Thanks for reading!
Comments