# 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:** 65

<div class="post-metadata">

**Author:** ![enoes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@enoes](https://forums.unrealengine.com/u/enoes)\
**Post date:** [August 12, 2019, 5:17pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1331 "2019-08-12T17:17:18Z")

</div>

RTX how enable old gtx cards ? please lousang help me

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_974e01c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_974e01c7](https://forums.unrealengine.com/u/anonymous_user_974e01c7)\
**Post date:** [August 13, 2019, 3:14pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1332 "2019-08-13T15:14:41Z")

</div>

I get an error when trying to build lightmass.

I have 5 computer running in swarm but only one give me this error.  
The difference is that this computer have a RTX2070. The others are on GTX1070.

I already tried playing with Tdr settings and tweaked some value in MSI Afterburner but to no avail.

![20190813_110004.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/1/810dbd1ec8e56c0c1534b4c0bacce967614747da.png)

---

<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:** [August 13, 2019, 3:19pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1333 "2019-08-13T15:19:48Z")

</div>

> [@](#):
>
> RTX how enable old gtx cards ? please lousang help me

GTX 1060 6Gb and better should work with RTX with latest Nvidia drivers (although at low quality and performance won’t be great). Anything lower than 1060 6Gb won’t work with RTX.

---

<div class="post-metadata">

**Author:** ![Bakikibakibabaki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bakikibakibabaki](https://forums.unrealengine.com/u/Bakikibakibabaki)\
**Post date:** [August 14, 2019, 1:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1334 "2019-08-14T13:10:24Z")

</div>

> [@Pixi\_Labo](#):
>
> I get an error when trying to build lightmass.
> 
> I have 5 computer running in swarm but only one give me this error.  
> The difference is that this computer have a RTX2070. The others are on GTX1070.
> 
> I already tried playing with Tdr settings and tweaked some value in MSI Afterburner but to no avail.
> 
> ![20190813_110004.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/1/810dbd1ec8e56c0c1534b4c0bacce967614747da.png)

Have you tried to clear ur cache inside swarm on all render stations`?  
Drivers up to date?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_974e01c7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_974e01c7](https://forums.unrealengine.com/u/anonymous_user_974e01c7)\
**Post date:** [August 14, 2019, 6:25pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1335 "2019-08-14T18:25:31Z")

</div>

> [@Bakikibakibabaki](#):
>
> Have you tried to clear ur cache inside swarm on all render stations`?  
> Drivers up to date?

Yes, I cleaned all cache and the driver are up to date

---

<div class="post-metadata">

**Author:** ![Monu29](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monu29](https://forums.unrealengine.com/u/Monu29)\
**Post date:** [August 16, 2019, 7:42am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1336 "2019-08-16T07:42:46Z")

</div>

Heya,

Really appreciate your contribution to the gamedev community.

I have looked at the code on and am planning to port this to Vulkan API so it is not tied to any vendor specific hardware.  
DM me if you wanna help out and get me up to speed; otherwise it will be a bit tedious for me.

---

<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:** [August 16, 2019, 1:23pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1337 "2019-08-16T13:23:57Z")

</div>

> [@Monu29](#):
>
> Heya,
> 
> Really appreciate your contribution to the gamedev community.
> 
> I have looked at the code on and am planning to port this to Vulkan API so it is not tied to any vendor specific hardware.  
> DM me if you wanna help out and get me up to speed; otherwise it will be a bit tedious for me.

Any chance you could update it to support UE 4.23 first ? 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_81a6091a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_81a6091a](https://forums.unrealengine.com/u/anonymous_user_81a6091a)\
**Post date:** [August 18, 2019, 6:38pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1338 "2019-08-18T18:38:28Z")

</div>

> [@NiukNiuk](#):
>
> Anybody here knows how to make it work with 4.23 preview? Thanks!

try https://.com/sgeraldes/LightmassConfiguration

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_81a6091a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_81a6091a](https://forums.unrealengine.com/u/anonymous_user_81a6091a)\
**Post date:** [August 18, 2019, 6:39pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1339 "2019-08-18T18:39:12Z")

</div>

> [@](#):
>
> Any chance you could update it to support UE 4.23 first ? 😉

https://.com/sgeraldes/LightmassConfiguration

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_81a6091a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_81a6091a](https://forums.unrealengine.com/u/anonymous_user_81a6091a)\
**Post date:** [August 18, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1340 "2019-08-18T18:41:15Z")

</div>

> [@](#):
>
> Meanwhile, has anyone figured out how to get GPULightmass working with 4.23 ?

https://.com/sgeraldes/LightmassConfiguration

---

<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:** [August 18, 2019, 6:43pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1341 "2019-08-18T18:43:58Z")

</div>

> [@Bimbachi](#):
>
> try https://.com/sgeraldes/LightmassConfiguration

Thanks, but I already tried this tool,  
it works fine with 4.22.3 but doesn’t work with 4.23 preview, even when editing the .bat file (crash when launching ue4)

---

<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:** [August 20, 2019, 2:00am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1342 "2019-08-20T02:00:21Z")

</div>

> [@Bimbachi](#):
>
> https://.com/sgeraldes/LightmassConfiguration

So, are you basically saying “I figured it out using this source release!” ? Just re-posting the link to repo isn’t going to help.

---

<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:** [August 20, 2019, 3:43am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1343 "2019-08-20T03:43:42Z")

</div>

> [@](#):
>
> So, are you basically saying “I figured it out using this source release!” ? Just re-posting the link to repo isn’t going to help.

Also, the script is not setup to work with 4.23 until someone ports the GPU Lightmass itself to 4.23. I’ll gladly update the script to 4.23 as soon as the core lightmass is updated. You guys are stuck with 4.22 until then.

---

<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:** [August 20, 2019, 3:47am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1344 "2019-08-20T03:47:11Z")

</div>

> [@](#):
>
> Hello, when I try to install the script this error occurs, keep in mind I installed the ue4 4.21 on another drive ? any help please?

You are probably using the latest version of the script, which is configured by default to 4.22, while your installation is 4.21. For the script to work with it, you need to manually edit (notepad will do)( and change the UnrealVersion = 4.22 to 4.21

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_81a6091a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_81a6091a](https://forums.unrealengine.com/u/anonymous_user_81a6091a)\
**Post date:** [August 20, 2019, 10:47am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1345 "2019-08-20T10:47:11Z")

</div>

> [@](#):
>
> So, are you basically saying “I figured it out using this source release!” ? Just re-posting the link to repo isn’t going to help.

you have instillation for 4.22.3 isn’t it clear? it did a thing for me, if not I will not post it.

---

<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:** [August 20, 2019, 1:20pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1346 "2019-08-20T13:20:45Z")

</div>

> [@Bimbachi](#):
>
> you have instillation for 4.22.3 isn’t it clear? it did a thing for me, if not I will not post it.

I am still using source/binaries and hybrid install as described in the earlier posts in this thread, for 4.22.3. I have not messed with source for that reason.

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [August 20, 2019, 7:26pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1347 "2019-08-20T19:26:27Z")

</div>

> [@](#):
>
> I am still using source/binaries and hybrid install as described in the earlier posts in this thread, for 4.22.3. I have not messed with source for that reason.

Can you share the binaries generated for 4.23 in your build?

---

<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:** [August 20, 2019, 7:33pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1348 "2019-08-20T19:33:39Z")

</div>

> [@](#):
>
> Can you share the binaries generated for 4.23 in your build?

They are in the first post of this thread :eek:

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [August 20, 2019, 7:44pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1349 "2019-08-20T19:44:23Z")

</div>

> [@](#):
>
> They are in the first post of this thread :eek:

The source is. But I mean the files generated from the build, so that we can just overwrite the ones in the launcher version. If you build from the source, isn’t that what gets generated?  
I’m asking because building from the source takes a long time (to clone it, build it), so if you already have those files built… 🙂

---

<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:** [August 20, 2019, 7:51pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1350 "2019-08-20T19:51:54Z")

</div>

> [@](#):
>
> The source is. But I mean the files generated from the build, so that we can just overwrite the ones in the launcher version. If you build from the source, isn’t that what gets generated?  
> I’m asking because building from the source takes a long time (to clone it, build it), so if you already have those files built… 🙂

Not sure what you mean.

I replace .h and .cpp file in my UE4 source tree with GPULightmass ones and then build the engine. Then I download GPULightmass binaries for 4.22.3 and copy it over to respective folders in my freshly build engine source tree, replacing existing ones. The only .DLL I don’t copy if the UnrealED one. Then I edit my base lightmass ini file and it’s good to go.

It’s the only way I can get GPULightmass working when building from source. If I only use cpp and h files, I don’t get any lightmaps building at all.

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

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