# Luoshuang's GPULightmass

**URL:** <https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 13, 2018, 5:44am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474 "2018-04-13T05:44:47Z")\
**Posts on this page:** 20\
**Page:** 77

<div class="post-metadata">

**Author:** ![Andreas\_Bjorshol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andreas\_Bjorshol](https://forums.unrealengine.com/u/Andreas_Bjorshol)\
**Post date:** [December 16, 2019, 9:15am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1588 "2019-12-16T09:15:51Z")

</div>

> [@Tomas\_TDFM](#):
>
> Go to the folder where is your UE4 installed and open “Engine/Config/BaseLightmass.ini”. At the bottom you will find “DevOptions.GPULightmass” section and set desired NumPrimary and NumSecondary GI Samples. 32/16 is Medium Quality, 64/16 Ultra High, 128/32 Extreme.

Thanks! Have you found a good setting to set FireflyClampingThreshold? I’ve found it hard to get strong sunlight from an HDRI without getting fireflies. 128/32/10,000 seems to work fine, but could be cleaner.

[USER=“24021”]pax invictus[/USER] Thank you for the updates!

---

<div class="post-metadata">

**Author:** ![pawpots](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pawpots/32/466630_2.png) [@pawpots](https://forums.unrealengine.com/u/pawpots)\
**Post date:** [December 16, 2019, 2:21pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1589 "2019-12-16T14:21:57Z")

</div>

is this working on the latest 4.24? because it’s not working on me the .dat file said 4.23 is not installed and registry not set. someone can enlighten me on how to migrate this to version 4.24? thank you, I am using RTX 2070 super.

---

<div class="post-metadata">

**Author:** ![Teriander](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/teriander/32/1015685_2.png) [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Post date:** [December 16, 2019, 4:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1590 "2019-12-16T16:27:03Z")

</div>

> [@](#):
>
> [GPU Lightmass for UE 4.24.0](https://www.dropbox.com/sh/58kpyl2v81aoqkk/AACbgsD3zmgIfAw-UIq5AZkna?dl=0)
> 
> Binaries for older version of UE4 can still be found [here](https://www.dropbox.com/sh/fjr63yeutafmip9/AAA54ghH1gCrd5VFnpYezFena?dl=0).

My first time downloading GPU Lightmass. Do I need something other than this zip file which contains “Engine” directory updates? Because I get an error when trying to light build now. What am I missing?

---

<div class="post-metadata">

**Author:** ![Teriander](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/teriander/32/1015685_2.png) [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Post date:** [December 16, 2019, 5:00pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1591 "2019-12-16T17:00:46Z")

</div>

Do I need the version for this to work or will it work by copying over files from the Epic Launcher 4.24.0 downloaded version?

---

<div class="post-metadata">

**Author:** ![pawpots](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pawpots/32/466630_2.png) [@pawpots](https://forums.unrealengine.com/u/pawpots)\
**Post date:** [December 17, 2019, 11:00am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1592 "2019-12-17T11:00:39Z")

</div>

![Annotation-20191217-185813.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f33130bb94c1f4191a27f2126d8e039420d5afd3.jpeg)  
thank you, this works well with 4.24.

---

<div class="post-metadata">

**Author:** ![Teriander](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/teriander/32/1015685_2.png) [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Post date:** [December 17, 2019, 4:16pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1593 "2019-12-17T16:16:08Z")

</div>

> [@royoroyoroyor](#):
>
> is this working on the latest 4.24? because it’s not working on me the .dat file said 4.23 is not installed and registry not set. someone can enlighten me on how to migrate this to version 4.24? thank you, I am using RTX 2070 super.

It appears you were able to get this working for 4.24. Can you explain how? Did you use the Lightmass Configuration script?

---

<div class="post-metadata">

**Author:** ![Zelgador](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zelgador/32/1079139_2.png) [@Zelgador](https://forums.unrealengine.com/u/Zelgador)\
**Post date:** [December 18, 2019, 1:55pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1594 "2019-12-18T13:55:24Z")

</div>

Hello, i just saw this post and used your custom lightmass and it’s pretty awesome for me. However, when i try to use my anamorphic lens (FFT Convolution) from my post processing, the lightmass doesn’t work anymore. Do you have any idea about how to make anamorphic works with the lightmass?

Thank you in advance!  
Regards,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_660feb50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_660feb50](https://forums.unrealengine.com/u/anonymous_user_660feb50)\
**Post date:** [December 18, 2019, 2:32pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1595 "2019-12-18T14:32:05Z")

</div>

> [@](#):
>
> It appears you were able to get this working for 4.24. Can you explain how? Did you use the Lightmass Configuration script?

Pax Invictus released the binaries of the 4.24 version in a few of previous pages.

Here is the post:

> [@](#):
>
> [GPU Lightmass for UE 4.24.0](https://www.dropbox.com/sh/58kpyl2v81aoqkk/AACbgsD3zmgIfAw-UIq5AZkna?dl=0)
> 
> Binaries for older version of UE4 can still be found [here](https://www.dropbox.com/sh/fjr63yeutafmip9/AAA54ghH1gCrd5VFnpYezFena?dl=0).

You are welcome!

---

<div class="post-metadata">

**Author:** ![Teriander](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/teriander/32/1015685_2.png) [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Post date:** [December 18, 2019, 6:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1596 "2019-12-18T18:10:12Z")

</div>

> [@CP\_Baboon](#):
>
> Pax Invictus released the binaries of the 4.24 version in a few of previous pages.
> 
> Here is the post:
> 
> You are welcome!

Baboon,

I had tried this but had errors, this is why I was hoping to use the Lightmass Configuration script to set it up automatically, because I can’t get it to work manually. But the script only appears to support 2.23 and prior. Any suggestions?

---

<div class="post-metadata">

**Author:** ![Teriander](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/teriander/32/1015685_2.png) [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Post date:** [December 18, 2019, 9:45pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1597 "2019-12-18T21:45:12Z")

</div>

This is the error message Im getting and Im not sure what’s going on. 4.24.0. Can anyone assist?

=== Lightmass crashed: ===  
Fatal error: [File:C:/UE4/GPULM-src/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp] [Line: 186]  
Ran out of memory allocating 18446744073472364412 bytes with alignment 0  
0x00007ff934b3a839 KERNELBASE.dll!UnknownFunction ]  
0x00007ff8989d2496 UnrealLightmass-Core.dll!UnknownFunction ]  
0x00007ff8989d53e7 UnrealLightmass-Core.dll!UnknownFunction ]  
0x00007ff89885705d UnrealLightmass-Core.dll!UnknownFunction ]  
0x00007ff89869c3cc UnrealLightmass-Core.dll!UnknownFunction ]  
0x00007ff8986de298 UnrealLightmass-Core.dll!UnknownFunction ]  
0x00007ff6898f2bf4 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff6898a6140 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff6898d6750 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff6898b9431 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff6898e11ce UnrealLightmass.exe!UnknownFunction ]  
0x00007ff6898ffc63 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff68996ec88 UnrealLightmass.exe!UnknownFunction ]  
0x00007ff935f37bd4 KERNEL32.DLL!UnknownFunction ]  
0x00007ff936e4ced1 ntdll.dll!UnknownFunction ]

This is with a default scene, so nothing heavy. 1070gtx, 32 gigs of ram. All of my hard drives have plenty of space, ram is using about 20% GPU is using 1.8 out of 8. So nothing is running out of memory. What can I do to resolve this?

[Never mind, I got it resolved. Wrong source files]

---

<div class="post-metadata">

**Author:** ![pax\_invictus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pax\_invictus](https://forums.unrealengine.com/u/pax_invictus)\
**Post date:** [December 19, 2019, 4:46am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1598 "2019-12-19T04:46:12Z")

</div>

**GPU Lightmass 4.24.1**

Binaries [download](http://www.dropbox.com/sh/m9z61h37n2uck5o/AADRewQBKOqT0DISGifsMbraa?dl=0)

Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.1)

---

<div class="post-metadata">

**Author:** ![Situx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Situx](https://forums.unrealengine.com/u/Situx)\
**Post date:** [December 19, 2019, 5:05am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1599 "2019-12-19T05:05:12Z")

</div>

GPULightmass Configuration Script updated to 4.24. Thanks Joti Carrol for the work.  
now we are behind again, that pax released 4.24.1  
:rolleyes:

---

<div class="post-metadata">

**Author:** ![oooHelloMRooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oooHelloMRooo](https://forums.unrealengine.com/u/oooHelloMRooo)\
**Post date:** [December 19, 2019, 9:52am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1603 "2019-12-19T09:52:01Z")

</div>

> [@](#):
>
> **GPU Lightmass 4.24.1**
> 
> Binaries [download](http://www.dropbox.com/sh/m9z61h37n2uck5o/AADRewQBKOqT0DISGifsMbraa?dl=0)
> 
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.1)

16:29:04: Lightmass on ECS-592A: 3:58 min total, 14.7 sec importing, 4.52 sec setup, 3 ms photons, 2:51 min processing, 21 ms extra exporting [205/210 mappings]. Threads: 25:46 min total, 19:59 min processing.  
16:29:04: Lighting complete [Startup = 14.7 sec, Lighting = 3:43 min]  
16:29:04: Failed to send back log file through Swarm!  
16:29:04: [CloseConnection] Closing connection 25866B64 using handle 25866B64  
16:29:04: [CloseConnection] Connection confirmed for disconnection 25866B64  
16:29:04: [MaintainConnections] Connection 25866B64 is DISCONNECTING  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [UpdateTaskState]: Task Killed locally by ECS-592A, counted as failure  
16:29:05: [CloseConnection] Connection disconnected 25866B64  
16:29:05: [GetMessage] Safely returning to 25866B64 with no message  
16:29:05: [MaintainConnections] Detected finished connection, closing (25866B63)  
16:29:05: [CloseConnection] Closing connection 25866B63 using handle 25866B63  
16:29:05: [CloseConnection] Connection confirmed for disconnection 25866B63  
16:29:05: [CloseConnection] Closing bi-directional remote connection (25866B63)  
16:29:05: [CloseConnection] Closing connection 25866B63 using handle 25866B63  
16:29:05: [CloseConnection] Connection already being disconnected, nothing to do 25866B63  
16:29:05: [CloseConnection] Connection disconnected 25866B63  
16:29:05: [MaintainConnections] Local connection has closed (25866B64)  
16:29:05: [MaintainConnections] Removed connection 25866B64  
16:29:05: [Maintain Jobs] Killing rogue Job “6F4F2230-46553765-578FAD8C-CB6AB570”  
16:29:06: [MaintainConnections] Remote connection has closed (25866B63)  
16:29:06: [MaintainConnections] Removed connection 25866B63  
16:29:06: [MaintainConnections] All connections have closed

能看懂中文吗？

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [December 21, 2019, 6:20am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1604 "2019-12-21T06:20:36Z")

</div>

> [@](#):
>
> **GPU Lightmass 4.24.1**
> 
> Binaries [download](http://www.dropbox.com/sh/m9z61h37n2uck5o/AADRewQBKOqT0DISGifsMbraa?dl=0)
> 
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.1)

Great! Although I had hard time building it (had several errors I had to fix) ~~and after it finally got compiled, GPU Lightmass wouldn’t run when building lighting. UE4 would just run CPU Lightmass.~~

 

~~Do you have those includes and libs of GPLightmass updated for 4.24 ?~~

I think I fixed it and it runs fine now (fingers crossed)

---

<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:** [December 26, 2019, 5:41am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1605 "2019-12-26T05:41:09Z")

</div>

> [@](#):
>
> Great! Although I had hard time building it (had several errors I had to fix) ~~and after it finally got compiled, GPU Lightmass wouldn’t run when building lighting. UE4 would just run CPU Lightmass.~~
> 
>  
> 
> ~~Do you have those includes and libs of GPLightmass updated for 4.24 ?~~
> 
> I think I fixed it and it runs fine now (fingers crossed)

Thank you ! Good job!

---

<div class="post-metadata">

**Author:** ![MJH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MJH](https://forums.unrealengine.com/u/MJH)\
**Post date:** [December 31, 2019, 11:02am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1606 "2019-12-31T11:02:20Z")

</div>

wow **GPU Lightmass 4.24.1 !!** amazing work!! … but why did you remove it? I get error downloading from Dropbox and it doesn’t exist when I go to gethub link 😕 does anyone have it working for \*\*Lightmass 4.24.1 \*\*and can upload it again plz?

---

<div class="post-metadata">

**Author:** ![NiukNiuk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/niukniuk/32/88718_2.png) [@NiukNiuk](https://forums.unrealengine.com/u/NiukNiuk)\
**Post date:** [December 31, 2019, 12:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1607 "2019-12-31T12:10:45Z")

</div>

> [@MJH](#):
>
> wow **GPU Lightmass 4.24.1 !!** amazing work!! .. but why did you remove it? I get error downloading from Dropbox and it doesn’t exist when I go to gethub link 😕 does anyone have it working for \*\*Lightmass 4.24.1 \*\*and can upload it again plz?

Here’s the Dropbox link:

> **[Dropbox](https://www.dropbox.com/sh/fjr63yeutafmip9/AAA54ghH1gCrd5VFnpYezFena?dl=0)**

---

<div class="post-metadata">

**Author:** ![MJH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MJH](https://forums.unrealengine.com/u/MJH)\
**Post date:** [December 31, 2019, 6:02pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1608 "2019-12-31T18:02:14Z")

</div>

> [@NiukNiuk](#):
>
> Here’s the Dropbox link:  
> [Dropbox - GPU Lightmass Binaries - Simplify your life](https://www.dropbox.com/sh/fjr63yeutafmip9/AAA54ghH1gCrd5VFnpYezFena?dl=0)

Thanks Allot! … and I found I can’t download it either but I figured out at the end it was blocked in my country for unknown reason! so if anyone else can’t download it try to open the link via VPN

---

<div class="post-metadata">

**Author:** ![thundermax1979](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thundermax1979](https://forums.unrealengine.com/u/thundermax1979)\
**Post date:** [January 1, 2020, 6:57pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1610 "2020-01-01T18:57:56Z")

</div>

4.24.1 Not working here Its says repair when I open epic games ui

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0ee6f733](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0ee6f733](https://forums.unrealengine.com/u/anonymous_user_0ee6f733)\
**Post date:** [January 2, 2020, 3:16pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1611 "2020-01-02T15:16:22Z")

</div>

Will you be launching an update for version 4.24 anytime soon?

[Previous page](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474.md?page=76)

[Next page](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474.md?page=78)
