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

<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:** [April 2, 2021, 4:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2094 "2021-04-02T16:10:08Z")

</div>

> [@kabulcreed](#):
>
> Can you Please update it for 4.26.1 ?  
> I’m using an old GPU and if you update it, I will be very Glad.

Unfortunately I don’t have the time to maintain, as this was just a side project on my spare time.

Here is my Patreon page in case you want to donate. If there is enough interest and support, I’ll do an update over the weekend to the latest version.

> **[Sebastian Geraldes | Patreon](https://www.patreon.com/LightmassConfigurator?fan_landing=true)**
>
> creating Unreal Engine Scripts and tools

---

<div class="post-metadata">

**Author:** ![Obando](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Obando](https://forums.unrealengine.com/u/Obando)\
**Post date:** [April 14, 2021, 2:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2095 "2021-04-14T14:27:56Z")

</div>

@ Thanx for all updates in the GPU Lightmass binaries you are the best.  
Yesterday my engine updated ti versio 4.26.2. Can you upload GPU Lightmass for this version.  
Thanx in advanced.

---

<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:** [April 15, 2021, 9:45pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2096 "2021-04-15T21:45:12Z")

</div>

**GPU Lightmass 4.26.2**

**[Download](https://www.dropbox.com/sh/gpvtm8p9ga9xcn8/AADdmRCZ1QBTFqHFaZFU8NlCa?dl=0)** binaries

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

---

<div class="post-metadata">

**Author:** ![d\_4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@d\_4](https://forums.unrealengine.com/u/d_4)\
**Post date:** [April 15, 2021, 10:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2097 "2021-04-15T22:10:57Z")

</div>

Any news about build for 4.26.2?

---

<div class="post-metadata">

**Author:** ![DsyD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DsyD](https://forums.unrealengine.com/u/DsyD)\
**Post date:** [April 15, 2021, 11:41pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2098 "2021-04-15T23:41:40Z")

</div>

> [@Luoshuang's GPULightmass](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1952):
>
> Hey guys, is there any official thread for sharing experience with GPU-Lightmass Plugin 4.26 (beta)? I already tried out some stuff and wanted to let you know: (right now using preview 4) Had some issues with skylight and realized that it’s only calculated when I change some skylight settings while baking (in preview mode; f.ex. lighting intensity +0.1). This even works when I don’t activate virtual textures at all. Which brings me to my second experience: Previewing is nice to have but I can…

Thanks!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6efcf5e01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6efcf5e01](https://forums.unrealengine.com/u/anonymous_user_6efcf5e01)\
**Post date:** [April 16, 2021, 12:43pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2099 "2021-04-16T12:43:18Z")

</div>

Hello,

Thanks for the upload!  
Just tested it and I got this. (Image Attached)  
Has anyone had this issue?

Please let know.  
Thanks!

 ![ParchePara_426-2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/2/02854fdd74bafec6b9a25e5b72f924e2559a0ff3.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 19, 2021, 5:49am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2100 "2021-04-19T05:49:36Z")

</div>

> [@](#):
>
> **GPU Lightmass 4.26.2**
> 
> **[Download](https://www.dropbox.com/sh/gpvtm8p9ga9xcn8/AADdmRCZ1QBTFqHFaZFU8NlCa?dl=0)** binaries
> 
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.26.2-release)

Thanks a lot!  
Any idea how I change quality settings with this build? Before I would change it in a prompt like program.  
How do you do it for this version?

---

<div class="post-metadata">

**Author:** ![Cyberglobe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cyberglobe/32/465451_2.png) [@Cyberglobe](https://forums.unrealengine.com/u/Cyberglobe)\
**Post date:** [April 19, 2021, 9:23am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2102 "2021-04-19T09:23:35Z")

</div>

You need to go to your UE installation folder and under Engine\>Config you will find a file called BaseLightmass.ini. Open it, scroll down to the bottom and you will see GPU lightmass settings. Change the first two values with power-of-two numbers. 64-32, 128-32, 128-64 are usually good pairs.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6efcf5e01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6efcf5e01](https://forums.unrealengine.com/u/anonymous_user_6efcf5e01)\
**Post date:** [April 19, 2021, 1:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2103 "2021-04-19T13:01:00Z")

</div>

Solved!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 19, 2021, 11:11pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2104 "2021-04-19T23:11:04Z")

</div>

> [@Cyberglobe](#):
>
> You need to go to your UE installation folder and under Engine\>Config you will find a file called BaseLightmass.ini. Open it, scroll down to the bottom and you will see GPU lightmass settings. Change the first two values with power-of-two numbers. 64-32, 128-32, 128-64 are usually good pairs.

🙏 thank you!

---

<div class="post-metadata">

**Author:** ![Obando](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Obando](https://forums.unrealengine.com/u/Obando)\
**Post date:** [April 20, 2021, 4:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2105 "2021-04-20T16:27:15Z")

</div>

Thanx for your efficient response and great work. Keep up saving lives hahaha. ✊ 💪

---

<div class="post-metadata">

**Author:** ![Obando](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Obando](https://forums.unrealengine.com/u/Obando)\
**Post date:** [April 20, 2021, 4:32pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2106 "2021-04-20T16:32:46Z")

</div>

This could probably help Newbies in GPU Lightmass.

- Open the file BaseLightmass.ini located in your UE version in the folder Engine/Config  
Example: “D:\Program Files\Epic Games\UE\_4.26\Engine\Config\BaseLightmass.ini”

- Scroll to the end and find NumPrimaryGISamples and NumSecondaryGISamples

- Change values for Quality:

Preview  
NumPrimaryGISamples=16  
NumSecondaryGISamples=8

Medium  
NumPrimaryGISamples=32  
NumSecondaryGISamples=16

High  
NumPrimaryGISamples=64  
NumSecondaryGISamples=32

Extreme  
NumPrimaryGISamples=128  
NumSecondaryGISamples=64

Special Thanx to @Luoshang and @ they´ve been making our job much easier this years, keep up the good work ✊ 💪

---

<div class="post-metadata">

**Author:** ![Obando](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Obando](https://forums.unrealengine.com/u/Obando)\
**Post date:** [April 20, 2021, 4:41pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2107 "2021-04-20T16:41:27Z")

</div>

This could probably help Newbies in GPU Lightmass.

- Open the file BaseLightmass.ini located in your UE version in the folder Engine/Config  
Example: “D:\Program Files\Epic Games\UE\_4.26\Engine\Config\BaseLightmass.ini”
- Scroll to the end and find NumPrimaryGISamples and NumSecondaryGISamples
- Change values for Quality:

Preview  
NumPrimaryGISamples=16  
NumSecondaryGISamples=8

Medium  
NumPrimaryGISamples=32  
NumSecondaryGISamples=16

High  
NumPrimaryGISamples=64  
NumSecondaryGISamples=32

Extreme  
NumPrimaryGISamples=128  
NumSecondaryGISamples=64

Special Thanx to @Luoshang and @ they´ve been making our job much easier this years, keep up the good work ✊ 💪

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 20, 2021, 11:36pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2108 "2021-04-20T23:36:38Z")

</div>

Any idea why the built in GPU bake of 4.26 is so much worse than Luoshang’s?

Built in gpu bake

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/d/2dd1173486329cb113a6fa2a10d171025c7747cc.jpeg)

Luoshangs (dont mind the temperature changes thats post)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/c/ec74ac45ce170a21a43c4e92434a866755a60a69.jpeg)

But you can clearly see that one is crappy (and that is with settings bumped to a maximum) and the other is clean and smooth…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 21, 2021, 2:00am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2109 "2021-04-21T02:00:27Z")

</div>

> [@anonymous\_user\_6efcf5e01](#):
>
> Hello,
> 
> Thanks for the upload!  
> Just tested it and I got this. (Image Attached)  
> Has anyone had this issue?
> 
> Please let know.  
> Thanks!

What was it? Im getting that in one of my scenes too.

---

<div class="post-metadata">

**Author:** ![poky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poky](https://forums.unrealengine.com/u/poky)\
**Post date:** [April 21, 2021, 10:12am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2110 "2021-04-21T10:12:10Z")

</div>

people. ue4 has native gpu baker. you don’t need this “mod” anymore.

---

<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:** [April 21, 2021, 1:41pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2111 "2021-04-21T13:41:50Z")

</div>

Install script updated for 4.24.3, 4.25.4, and 4.26.2

[Releases · sgeraldes/LightmassConfiguration (.com)](https://.com/sgeraldes/LightmassConfiguration/releases)

You can use the script to change quality settings on the fly, no need to restart UE4 or mess with ini files.

If you use it, and want to support the work to keep it up to date, please drop by my patreon:

> **[Sebastian Geraldes | creating Unreal Engine Scripts and tools | Patreon](https://www.patreon.com/LightmassConfigurator)**
>
> Become a patron of Sebastian Geraldes today: Get access to exclusive content and experiences on the world’s largest membership platform for artists and creators.

---

<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:** [April 21, 2021, 1:48pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2112 "2021-04-21T13:48:29Z")

</div>

> Can you Please update it for 4.26.1 ?  
> I’m using an old GPU and if you update it, I will be very Glad.

Updated to 4.26.2. It was also updated to fix some minor bugs and remove unused code.

The latest version has a few different files to backup than previous versions, so make sure you re-create your backup (option 1). If you currently have GPU lightmass installed without the script, I encourage to do a “UE4 validation” to restore CPU lightmass before using the Installer, so it can take a clean backup.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 21, 2021, 10:12pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2113 "2021-04-21T22:12:20Z")

</div>

> [@poky](#):
>
> people. ue4 has native gpu baker. you don’t need this “mod” anymore.

the native one has inferior quality as I have posted here earlier.

---

<div class="post-metadata">

**Author:** ![poky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poky](https://forums.unrealengine.com/u/poky)\
**Post date:** [April 22, 2021, 12:53pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2115 "2021-04-22T12:53:46Z")

</div>

so how do i install this? first post of author doesnt say anything

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

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