# Epic's GPUlightmass

**URL:** <https://forums.unrealengine.com/t/epics-gpulightmass/139357>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [March 5, 2020, 12:52pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357 "2020-03-05T12:52:56Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![c\_v1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c\_v1977](https://forums.unrealengine.com/u/c_v1977)\
**Post date:** [April 20, 2020, 2:39am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/41 "2020-04-20T02:39:26Z")

</div>

Is there a bug in dev-rendering as of Apr 20 2020?  
Movable objects are not lit by volumetric lightmap after the interactive lightmap building completes. Prior to completion, VLM is applied normally. The VLM samples are preserved and can be visualized. Just movable objects are no longer VLM lit after lightmass finishes.

---

<div class="post-metadata">

**Author:** ![order66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/order66/32/906575_2.png) [@order66](https://forums.unrealengine.com/u/order66)\
**Post date:** [April 25, 2020, 3:50pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/42 "2020-04-25T15:50:26Z")

</div>

What is the targeted release for this? 4.26?

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [April 30, 2020, 10:28am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/43 "2020-04-30T10:28:09Z")

</div>

Tested todays code (updated from github 200430). Build works nicely. Some scenes make UE crash though. Error message: GPU crashed or D3D Device Removed. Using a gtx1080 and driver 26.21.14.4219. Anyone else noticed this error / suggestions?

Also, after some testing I noticed my shadows don’t look sharp anymore. Its almost looking like everything has low lightmap values (but they dont). Again, suggestions?

---

<div class="post-metadata">

**Author:** ![StefanLukacs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StefanLukacs](https://forums.unrealengine.com/u/StefanLukacs)\
**Post date:** [May 22, 2020, 8:16am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/44 "2020-05-22T08:16:14Z")

</div>

Hi,

I trying to test the multi GPU function in the editor. Enabled it in consolevariable.ini, but I don’t know how I write the command line parameter “-MaxGPUCount=” if I have 4 GPUs.  
Can anyone help me?

---

<div class="post-metadata">

**Author:** ![giuseppebufalo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@giuseppebufalo](https://forums.unrealengine.com/u/giuseppebufalo)\
**Post date:** [July 11, 2020, 9:51am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/45 "2020-07-11T09:51:24Z")

</div>

What’s the best way to update the dev-rendering ? Do I have to install it from scratch or is there a quicker way to update it?

I think I’m experiencing a bug because at the moment I am getting weird colours on my mesh. I posted the problem here:

[https://forums.unrealengine.com/deve…s-in-lightmaps](https://forums.unrealengine.com/development-discussion/rendering/1784510-rainbow-colors-in-lightmaps)

Do you guys know why is that happening?

Cheers!

---

<div class="post-metadata">

**Author:** ![Shakhmilav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shakhmilav](https://forums.unrealengine.com/u/Shakhmilav)\
**Post date:** [September 21, 2020, 10:34am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/46 "2020-09-21T10:34:49Z")

</div>

I am very glad that **[Luoshuang](https://forums.unrealengine.com/member/27540-luoshuang)**'s work has been noticed and UE !!  
I have a question. Will it work as before on my 1050Ti graphics card?

---

<div class="post-metadata">

**Author:** ![tc22\_LEOCHOU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tc22_leochou/32/491291_2.png) [@tc22\_LEOCHOU](https://forums.unrealengine.com/u/tc22_LEOCHOU)\
**Post date:** [September 25, 2020, 6:22am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/47 "2020-09-25T06:22:15Z")

</div>

anyone test in 4.26?

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [September 25, 2020, 7:31pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/48 "2020-09-25T19:31:37Z")

</div>

I tried on my desktop with gtx1080 but the editor keeps crashing at restart after enabling ray tracing and rhi12.  
Many errors, also referring to oculusHMD. Submitted crashlogs.

edit: tried on another (older) laptop with quadro M1200. Editor launches fine but immediate crash after pressing ‘build lighting’ in the new (and nice looking) GPU lightmass settings tab. Error:

Assertion failed: (Index \>= 0) & (Index \< ArrayNum) [File d:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 674] Array index out of bounds: 74 from an array of size 0

Submitted crash logs.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 25, 2020, 7:49pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/49 "2020-09-25T19:49:11Z")

</div>

> [@tc22\_LEOCHOU](#):
>
> anyone test in 4.26?

Yeah. Indirect lighting intensity settings don’t work but otherwise it has been great so far. Ultra fast.

---

<div class="post-metadata">

**Author:** ![tc22\_LEOCHOU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tc22_leochou/32/491291_2.png) [@tc22\_LEOCHOU](https://forums.unrealengine.com/u/tc22_LEOCHOU)\
**Post date:** [September 26, 2020, 7:09am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/50 "2020-09-26T07:09:14Z")

</div>

> [@Arkiras](#):
>
> Yeah. Indirect lighting intensity settings don’t work but otherwise it has been great so far. Ultra fast.

i test it ! it’s so fast!

---

<div class="post-metadata">

**Author:** ![Rawalanche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rawalanche/32/906578_2.png) [@Rawalanche](https://forums.unrealengine.com/u/Rawalanche)\
**Post date:** [September 26, 2020, 8:21am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/51 "2020-09-26T08:21:32Z")

</div>

I am confused about everyone claiming it is fast. From my test, the unofficial GPU Lightmass plugin still delivers superior quality at the fraction of time compared to the official GPU Lightmass. Also, in the unofficial one, volumetric lightmap (the 3D lighting probes) actually work, while in the official 4.26 one, they produce wrong, garbled results with often negative lighting values.

---

<div class="post-metadata">

**Author:** ![Mpougatsa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mpougatsa](https://forums.unrealengine.com/u/Mpougatsa)\
**Post date:** [September 26, 2020, 8:24am UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/52 "2020-09-26T08:24:24Z")

</div>

Hi noob question ! Does anybody have a detailed tutorial or can explain here how exactly can I enable gpu lightmass in the built in UE 4.26 ??

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 26, 2020, 2:25pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/53 "2020-09-26T14:25:09Z")

</div>

> [@Rawalanche](#):
>
> I am confused about everyone claiming it is fast. From my test, the unofficial GPU Lightmass plugin still delivers superior quality at the fraction of time compared to the official GPU Lightmass. Also, in the unofficial one, volumetric lightmap (the 3D lighting probes) actually work, while in the official 4.26 one, they produce wrong, garbled results with often negative lighting values.

I’m only able to benchmark it against CPU lightmass because I’ve never used the unofficial GPULM plugin. I also never run it in slow mode because that takes forever. Compared to a CPU bake, it’s nothing short of amazing as far as speed is concerned.

As for quality, it could be better. I get some hue-shift artifacts that are noticeable on smooth surfaces and the VLM seems noisy though perhaps I am just not using enough samples. I’ve not seen any negative VLM values though.

My project is reliant on low indirect lighting intensity and low MinBrickError for VLMs (as I mainly use them for occlusion, not indirect light) though, so it’s important to me at least that it reaches some degree of feature parity with CPU lightmass.

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 26, 2020, 2:49pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/54 "2020-09-26T14:49:06Z")

</div>

Noticed another problem with it, stationary skylights don’t seem to bake lighting correctly

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [September 26, 2020, 4:17pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/55 "2020-09-26T16:17:23Z")

</div>

I just tried the 4.26 gpu lightmass… doesn’t seem like my static spotlights get taken into account for the lightmap… Below is a screenshot of the light not baked… and the top is with it baked… total darkness. Any idea why? I have a 2080 TI… bakes a lot of the emissive related ■■■■ it seems, but thats about it…

 ![gputest.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/8/2841064a146976e641d5d91e850c547664e397aa.jpeg)](filedata/fetch?id=1815795&d=1601133121)

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [September 26, 2020, 4:49pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/56 "2020-09-26T16:49:16Z")

</div>

@kurylo3d seems to be affected by outer cone angle. It works for me with default spotlight settings, but if I adjust the cone angle below a certain point, it disappears

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [September 26, 2020, 5:13pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/57 "2020-09-26T17:13:21Z")

</div>

> [@Arkiras](#):
>
> @kurylo3d seems to be affected by outer cone angle. It works for me with default spotlight settings, but if I adjust the cone angle below a certain point, it disappears

it doesnt even work with a brand new default spot light dropped into the scene.

it doesnt work for any static lights.

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [September 26, 2020, 6:33pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/58 "2020-09-26T18:33:26Z")

</div>

Its possible that the static lights get baked way way darker then a stationary light. See screenshot comparison … same light… just staic vs stationary.

 ![gputest2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/6/66c3131c411644d25c4ca85f640245791f2ad052.jpeg)

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [September 26, 2020, 8:16pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/59 "2020-09-26T20:16:27Z")

</div>

> [@kurylo3d](#):
>
> Its possible that the static lights get baked way way darker then a stationary light. See screenshot comparison .. same light.. just staic vs stationary.
> 
> ![gputest2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/6/66c3131c411644d25c4ca85f640245791f2ad052.jpeg)](filedata/fetch?id=1815813&d=1601145198)

Seems also like i can switch 1 light to static.. doesnt work.. then the light next to it i switch to staitionary and back to static.. that light stops working, but hte first light all of a sudden starts baking as static… something very wrong here… current gpu lightmass is very broken and unuseable unfortunately.

Where can i report this?

---

<div class="post-metadata">

**Author:** ![Muchasty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Muchasty](https://forums.unrealengine.com/u/Muchasty)\
**Post date:** [September 26, 2020, 11:17pm UTC](https://forums.unrealengine.com/t/epics-gpulightmass/139357/60 "2020-09-26T23:17:50Z")

</div>

@Luoshuang

I am testing 4.26P1 and I am impressed ! Well done!  
I have some suggestions:

1. Add new Bake Mode type:  
Bake Mode: Full Bake / View range only / View range and continue  
This last bake mode will allow to continue bake process for all the rest on the scene after all object in view range will be finished.  
When you move camera then the unbaked view range objects will become a priority for bake.

2. Add more information about parameters in hover hint frames ( their role and influence on bake process )

3. Update viewport at Realtime=OFF after object or group of objects have been baked to show results + some results autosave backup file ( after every 2min or 5mins and at the end ).

4. Computed object influence range could be helpful when adding or moving some object on the scene to avoid rebake whole scene and bake only the part.  
( I know that it can be very hard and complex task to determine what influences on what - this could be some kind of challenge 🙂 )

[Previous page](https://forums.unrealengine.com/t/epics-gpulightmass/139357.md?page=2)

[Next page](https://forums.unrealengine.com/t/epics-gpulightmass/139357.md?page=4)
