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

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 2, 2022, 3:58pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2259 "2022-06-02T15:58:40Z")

</div>

Hi @maxxx3d,

Download Git Bash/Git CMD from [Git - Downloading Package](https://git-scm.com/download/win) for Windows 10

Follow instructions from README.md  
Unreal 5.1.1  
[UnrealEngine-5/README.md at GPULightmass-5.1.1-vs2022 · jimshalo10/UnrealEngine-5 (github.com)](https://github.com/jimshalo10/UnrealEngine-5/blob/Luoshuangs-GPULightmass-5.1.1-vs2022/README.md)  
extracted below

When you have downloaded this repository using Git CMD  
UPDATE TO 5.1.1 21st February 2023

git clone https://.com/jimshalo10/UnrealEngine-5.git -b Luoshuangs-GPULightmass-5.1.1-vs2022

Older version  
$ git clone https://.com/jimshalo10/UnrealEngine-5.git -b Luoshuangs-GPULightmass-50x-vs2022

$ ren UnrealEngine-5 ue5Lgpu

$ cd ue5Lgpu

$ setup.bat

$ GenerateProjectFiles.bat -2022

$ REm make changes so the file looks like below

$ notepad Engine\Saved\UnrealBuildTool\BuildConfiguration.xml

```auto
 <?xml version="1.0" encoding="utf-8" ?>
 <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
   <ProjectFileGenerator>
     <Format>VisualStudio2022</Format>
   </ProjectFileGenerator>
 </Configuration>

```

Right click UE5.sln and select “Open With” → “Microsoft Visual Studio 2022”

When the Repository has opened in VS 2022.  
Right Click UE5 and select “Set As Startup Project”

Right, Click and Select “Build”, after a successful build.

In Solution Explorer, scroll down to Programs, then UnrealLightMass, Right Click and Select “Build”, after a successful build.

To get full Crash dump reporting scroll to CrashReporting, Right Click and Select “Build”, after a successful build.

To start to debug from the Menu Debug → “Start Without Debugging”

When you start to run the project the Shaders will need to compile for the first use at about 45% and the performance of your machine will affect the speed

---

<div class="post-metadata">

**Author:** ![phylcom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phylcom](https://forums.unrealengine.com/u/phylcom)\
**Post date:** [June 3, 2022, 2:24am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2260 "2022-06-03T02:24:13Z")

</div>

when update ’s GPU Lightmass for 5.0.2 ?

---

<div class="post-metadata">

**Author:** ![maxxx3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@maxxx3d](https://forums.unrealengine.com/u/maxxx3d)\
**Post date:** [June 3, 2022, 8:38am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2261 "2022-06-03T08:38:13Z")

</div>

thanks!

---

<div class="post-metadata">

**Author:** ![maxxx3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@maxxx3d](https://forums.unrealengine.com/u/maxxx3d)\
**Post date:** [June 3, 2022, 8:45am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2262 "2022-06-03T08:45:50Z")

</div>

at my own risk I tried to install version 5.0.1 and so far it works

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 3, 2022, 10:20am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2263 "2022-06-03T10:20:26Z")

</div>

Hi @phylcom,  
If you want to upgrade from 5.0.1 to 5.0.3

its now called Luoshuangs-GPULightmass-50x-vs2022

I have updated the post above  
['s GPULightmass - Unreal Engine / Rendering - Unreal Engine Forums](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2261)

I personally would recommend you re-install the latest version now at 5.0.3 to another directory and rebuild as there is so much that has changed over 4000 patches.

When I get a new version I back up the old version to a hard disk and download the new version to NVRAM/SSD.

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [June 5, 2022, 4:22am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2264 "2022-06-05T04:22:08Z")

</div>

Hi please make same like this for UE 5.0.3 it will be great help u can do so.

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [June 5, 2022, 4:26am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2265 "2022-06-05T04:26:03Z")

</div>

@ Please make GPU Lightmass for UE 5.0.2 Installation same as old way. Thank you.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 5, 2022, 10:26am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2266 "2022-06-05T10:26:39Z")

</div>

> [@anonymous\_user\_74d4b6d7.com](#):
>
> Hi please make same like this for UE 5.0.3 it will be great help u can do so.

Hi @3darchstuffs.com,  
@ code already works with 5.0.3.

I have used the 5.0.1 code in the post on working 5.0.3 version  
['s GPULightmass - 5.0.3  
 ](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2261)

---

<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:** [June 5, 2022, 5:19pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2267 "2022-06-05T17:19:23Z")

</div>

**GPU Lightmass 5.0.2**

**[Download](https://www.dropbox.com/sh/v8s7a1uig1vcffv/AAC6ZdP2OqBQuQj75eokawqRa?dl=0)**

Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE5.0.2-release)

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [June 6, 2022, 6:45am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2268 "2022-06-06T06:45:07Z")

</div>

OMG Lovely Thank You so MUCH. Really Appreciate it.

---

<div class="post-metadata">

**Author:** ![Joseph.Charette](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joseph.Charette](https://forums.unrealengine.com/u/Joseph.Charette)\
**Post date:** [June 9, 2022, 1:29am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2269 "2022-06-09T01:29:49Z")

</div>

Hi, i wanted to install ’s GPULightmass on ZeroDensity’s “Reality Editor 4.27” since its basically Unreal 4.27 but with custom plugins.

I tried to install “’s GPULightmass” but it crashed on opening a Project.

Does anyone have an idea on how to fix this?

But i get this error message:

 ![2022-06-07 15_22_54-Window](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/6/1d69886d1cf24f2997c9f82b0f66745176652427.jpeg)

---

<div class="post-metadata">

**Author:** ![michaelmonte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michaelmonte](https://forums.unrealengine.com/u/michaelmonte)\
**Post date:** [June 9, 2022, 2:19am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2270 "2022-06-09T02:19:23Z")

</div>

Hey guys. I have a little doubt about nanite and baked light… I mean, it is possible use both together? Or nanite is just for dynamic light only? Thanks in advance

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 9, 2022, 4:28pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2271 "2022-06-09T16:28:34Z")

</div>

Hi @michaelmonte,  
I tried converting only one of the static meshes to Nanite. Then “Building Lighting”. The Progress screen ran and was completed, the interesting thing is that when built including Nanite, the Dedicate GPU memory usage went down and the video memory exhausted message disappeared.

This is just like the Epic Sun Temple, an example which was baked and was just as good using Nanite. The real problem will be when you up the resolution and use Lumen extensively

---

<div class="post-metadata">

**Author:** ![Nick\_Tarasov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nick\_Tarasov](https://forums.unrealengine.com/u/Nick_Tarasov)\
**Post date:** [July 14, 2022, 10:05am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2272 "2022-07-14T10:05:18Z")

</div>

Hi @Jimbohalo10  
Why in UE5, after installing Lightmass, when clicking on Build, nothing happens? Do I need to change something additionally in the project settings?

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [July 14, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2273 "2022-07-14T17:00:04Z")

</div>

Hi @Nick_Tarasov

I think you will need to build Llightmass  
From

Unreal 5.1.1  
[UnrealEngine-5/README.md at GPULightmass-5.1.1-vs2022 · jimshalo10/UnrealEngine-5 (github.com)](https://github.com/jimshalo10/UnrealEngine-5/blob/Luoshuangs-GPULightmass-5.1.1-vs2022/README.md)

```auto
In Solution Explorer, scroll down to Programs, then UnrealLightMass, Right Click and Select "Build", after a successful UE5 build.

```

Obviously, you can Right click using “Rebuild” as in the picture below.

 ![Screenshot (24)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/6/8f6d568dd7c4b28fa239037db3ac03c49702e2ea.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Tarasov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nick\_Tarasov](https://forums.unrealengine.com/u/Nick_Tarasov)\
**Post date:** [July 14, 2022, 8:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2274 "2022-07-14T20:27:57Z")

</div>

@Jimbohalo10 Sorry, maybe I expressed myself inaccurately. I wrote about light baking in UE5.  
I have UE 5.0.2. and I installed Lightmass 5.0.2. from your zip archive. When i press Build lighting button, nothing happens. Perhaps you need to make additional settings inside the UE?

 ![photo_2022-07-15_00-23-20](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/7/8b77e3730be9ad555edd578bb33135f80a1da9a6.jpeg)

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [July 15, 2022, 5:30am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2275 "2022-07-15T05:30:01Z")

</div>

Hi @Nick_Tarasov,  
I think you might not have got Swarm set up to work with Lightmass as in the picture below

 ![SwarmEnableStandaloneMode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/f/87f3db629362c504e3a69fd80ba178f2542f8a65.png)

This should be seen in the Windows icon bottom right

 ![SwarmIconToolbar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/c/c0cf91ebf0c6be748be1007f75da06873fb0f4ea.png)  
UnrealLightmass will start Swarm when you click Build Lighting

---

<div class="post-metadata">

**Author:** ![Nick\_Tarasov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nick\_Tarasov](https://forums.unrealengine.com/u/Nick_Tarasov)\
**Post date:** [July 15, 2022, 9:02am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2276 "2022-07-15T09:02:02Z")

</div>

@Jimbohalo10  
Thanks for the answer. But when i click on BuildLighting in 5.0.2, nothing happens, including the Swarm Agent does not start. In 4.27 I don’t have such a problem, the building works fine

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [July 15, 2022, 4:53pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2277 "2022-07-15T16:53:44Z")

</div>

Hi @Nick_Tarasov, I cannot fix the problem with the BINARY Launcher version.  
I have documented the source version in an earlier post-Git Repository I have forked.

['s GPULightmass - Unreal Engine / Rendering - Unreal Engine Forums](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2248)

See the file for 5.0.3 BINARY in the next further post  
[Binary 5.0.3 files available](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2280)

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [July 19, 2022, 9:35pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2278 "2022-07-19T21:35:23Z")

</div>

> [@3darchstuffs.com](#):
>
> @ Please make GPU Lightmass for UE 5.0.2 Installation same as old way. Thank you.

@ Can you Please make GPU Lightmass for UE 5.0.3 Installation same as old way. Thank you.

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

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