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

<div class="post-metadata">

**Author:** ![Roozbeh8564](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roozbeh8564](https://forums.unrealengine.com/u/Roozbeh8564)\
**Post date:** [December 9, 2019, 9:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1567 "2019-12-09T21:52:05Z")

</div>

Is the script(not the GPULLightmass itself) available for 4.23.1?

---

<div class="post-metadata">

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

</div>

> [@StrangerGwenn](#):
>
> Get the source and compile it !

Can you explain how?

---

<div class="post-metadata">

**Author:** ![estudiobarrera](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@estudiobarrera](https://forums.unrealengine.com/u/estudiobarrera)\
**Post date:** [December 10, 2019, 3:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1569 "2019-12-10T15:01:21Z")

</div>

Hello everybody. I leave here my last work in UE4.23

watch?v=hqqS56huOpQ

---

<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 10, 2019, 11:57pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1570 "2019-12-10T23:57:33Z")

</div>

> [@archvizgeorge](#):
>
> Hi! Will be avaible in future for 4.24? I understand that is under development an official solution, but is this one avaible yet in some way?

> [@Chumyart](#):
>
> Can you explain how?

[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).

---

<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 11, 2019, 1:47am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1571 "2019-12-11T01:47:08Z")

</div>

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

What about source code ?

---

<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 11, 2019, 6:25am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1573 "2019-12-11T06:25:31Z")

</div>

> [@](#):
>
> What about source code ?

Thank you for the reminder! Pushed the latest version to [the usual place](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.0).

---

<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 11, 2019, 6:30am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1574 "2019-12-11T06:30:58Z")

</div>

> [@3darchstuffs](#):
>
> i was so excited to see it for 4.24. Please make it asap if possible deseparatly waiting for it.

All clear but the link has changed. Updated in the post from earlier:

> [@](#):
>
> [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).

---

<div class="post-metadata">

**Author:** ![ALPHA\_KENT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ALPHA\_KENT](https://forums.unrealengine.com/u/ALPHA_KENT)\
**Post date:** [December 11, 2019, 8:22am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1575 "2019-12-11T08:22:32Z")

</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).

It still bugged as 23 one. I can’t build light in certain scenes. I don’t know how to represent it, I can’t send you a map cause it might have lots of dependencies, but can you call me in skype to investigate it if you interested?Write me in pm if u wish. Anyway it says

11:11:17: Assertion failed: primitiveCount \> 0, file , line 61  
11:11:17: [Job] Job has failed! Job executable didn’t exit cleanly. Exit code: -1073

---

<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:** [December 11, 2019, 10:53am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1576 "2019-12-11T10:53:32Z")

</div>

> [@](#):
>
> Binaries for older version of UE4 can still be found [here](https://www.dropbox.com/sh/fjr63yeutafmip9/AAA54ghH1gCrd5VFnpYezFena?dl=0).

Thanks as always for your effort Pax. It works very nice for me in 4.24.0. I can’t upgrade my projects to a new UE version without it. Very much appreciated!

---

<div class="post-metadata">

**Author:** ![MaximeDupart](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maximedupart/32/1194606_2.png) [@MaximeDupart](https://forums.unrealengine.com/u/MaximeDupart)\
**Post date:** [December 11, 2019, 12:23pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1577 "2019-12-11T12:23:26Z")

</div>

Working like a charm on 4.24 , GPU Lightmass from is probbaly the first thing i try to get working when migrating.

---

<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:** [December 11, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1578 "2019-12-11T12:54:52Z")

</div>

> [@](#):
>
> Working like a charm on 4.24 , GPU Lightmass from is probbaly the first thing i try to get working when migrating.

Are using also a script to switch between GPU and CPU ?  
can you publish addresses to dowload?

---

<div class="post-metadata">

**Author:** ![MSCreationANMore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MSCreationANMore](https://forums.unrealengine.com/u/MSCreationANMore)\
**Post date:** [December 11, 2019, 2:24pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1579 "2019-12-11T14:24:37Z")

</div>

> [@MSCreationANMore](#):
>
> Hi \*\*
> 
> Please i want a replay on this question … i need to buy a PC around 1000 - 1200 $ maybe i can increase a little bit and my main render in UE4 is your GPU render and i have a very old pc "my last project cant handled it so i go for cloud server to finish it " so what type of (CPU - GPU with good amount of CUDA Cores - Ram’s - MotherBoard) please i need a replay from you or from any one who understand about PC build .
> 
> thank you \*\*

any one ???

---

<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 11, 2019, 3:19pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1580 "2019-12-11T15:19:55Z")

</div>

> [@](#):
>
> Thank you for the reminder! Pushed the latest version to [the usual place](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.0).

So, basically same .cpp files as for 4.23.x + latest commit with 4.24 adjustments ?

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [December 13, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1581 "2019-12-13T13:34:25Z")

</div>

> [@MSCreationANMore](#):
>
> any one ???

Hi @MSCreationANMore ,

Firstofall, I wouldn’t buy a PC based on an experimental/beta tool like GPU lightmass, even if it’s is incredible, because they are working on an official DXR lightmass now. Anyway, probably it will take benefits from the same hardware components.

As fas as I know, for GPUL the most important thing is the GPU, so try to buy the more expensive you can (but the cheaper of its model: for example, the cheaper RTX 2070. Between the cheaper and the expensiver could be a lot of money difference, but a little performance difference). With a budget of 1200 you should be able to buy an i7 with a RTX 2070, I think. Or at least an i5. For the rest of components, you can buy the cheaper compatibles, but it’s always recommended to find a little more expensive components. The rule (usually) is easy: the more expensive it is, the better it is.

Hope it helps,  
Regards!

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [December 13, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1582 "2019-12-13T13:52:37Z")

</div>

> [@MSCreationANMore](#):
>
> any one ???

To add to already great reply here, I heavily suggest AMD AM4 unless you are an Intel guy specifically, as you get a much better deal imho ,on AMD at least prices I’m seeing on NewEgg.  
Similar prices between amd/intel ,but the HUGE difference on a 1 to 1 comparison, is AMD 6 cores and threads so tons better in lighting builds or anywhere else that applies. Material compilation maybe don’t recall positively.

As always IF you can afford 128gb ram GET IT :)) If you can swing it,you’ll never regret it, tho it can be hard to find 16 or 32 gb only sticks given you positively want to maximize your motherboard so 64gb means 16gb sticks IF again you can afford it and conversely 128 ,depending how many ram slots you have may mean 32gb sticks but depending how much ram speed you want might me you can’t maximize. YMMV but those are important things to consider. The rest is obvious, wifi ,Pcie4, usb 3.1 gen 2 , M2 blah, make a GOOD choice as funds allow to avoid regret later 😉

OF NOTE, unreal dev I’ve seen post on answer website say, claim,that past 32 you have ‘diminishing returns’, don’t recall precise reasons, but even if true and I assume it is, YOU DO want as much ram as you can afford, bc we all know how important multitasking is for a multitude of reasons.

---

<div class="post-metadata">

**Author:** ![Miguel1900](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miguel1900/32/1010694_2.png) [@Miguel1900](https://forums.unrealengine.com/u/Miguel1900)\
**Post date:** [December 13, 2019, 4:24pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1583 "2019-12-13T16:24:35Z")

</div>

> [@neighborlee](#):
>
> To add to already great reply here, I heavily suggest AMD AM4 unless you are an Intel guy specifically, as you get a much better deal imho ,on AMD at least prices I’m seeing on NewEgg.  
> Similar prices between amd/intel ,but the HUGE difference on a 1 to 1 comparison, is AMD 6 cores and threads so tons better in lighting builds or anywhere else that applies. Material compilation maybe don’t recall positively.
> 
> As always IF you can afford 128gb ram GET IT :)) If you can swing it,you’ll never regret it, tho it can be hard to find 16 or 32 gb only sticks given you positively want to maximize your motherboard so 64gb means 16gb sticks IF again you can afford it and conversely 128 ,depending how many ram slots you have may mean 32gb sticks but depending how much ram speed you want might me you can’t maximize. YMMV but those are important things to consider. The rest is obvious, wifi ,Pcie4, usb 3.1 gen 2 , M2 blah, make a GOOD choice as funds allow to avoid regret later 😉
> 
> OF NOTE, unreal dev I’ve seen post on answer website say, claim,that past 32 you have ‘diminishing returns’, something due to lacking funds here, I can’t attest to, but even if true and I assume it is, YOU DO want as much ram as you can afford, bc we all know how important multitasking is for a multitude of reasons.

Oh, yes! Sorry for missing AMD option. In fact I’m going to buy a PC too and it will mount an AMD cpu. What I was thinking when only talking about Intel? AMD currently offers much more performance for the same price, so go for it.

And I agree about the RAM too as @neighborlee . At very least, 16gb. But to work with GPUL remember that the GPU is the most important part of your PC. You could think about a Ryzen 3700x, RTX 2070, 32gb RAM.

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [December 13, 2019, 5:28pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1584 "2019-12-13T17:28:48Z")

</div>

Solid, ya you can’t go wrong with that setup just make sure ,again depending on your budget to get what you need motherboard wise, that’s huge, and if you need a new case, verify that too has specs you need to compliment your motherboard.

If you’re handy, do as I’ve done and put together via components. Haven’t read entire thread , but its fun and you save money and often get better parts because you choose exactly what parts want and you can if desirable choose your own case ;)) Lots of options, in the end enjoy picking your new PC 🙂

---

<div class="post-metadata">

**Author:** ![Stuudio\_Diviis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stuudio\_Diviis](https://forums.unrealengine.com/u/Stuudio_Diviis)\
**Post date:** [December 14, 2019, 1:04pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1585 "2019-12-14T13:04:52Z")

</div>

Hi all

Can i ask little help with finetuning GPULM.

UE 4.23.1  
Lightmass set to 2048  
LM settings on Ultra 128/32/1000  
World settings:  
0.5  
100  
10  
10  
2.0  
Diffuse boost 1.2

I receive some gradients in lightmap. Is this unresolved issue by GPULM(denoise) or i can adjust some settings to remove these?  
Apartment walls are in one mesh.

 ![Marginaal-20191214-150014.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/5/75f19bb9e185c33e3a9a8cccaeb729a97e5481f0.jpeg)

---

<div class="post-metadata">

**Author:** ![The\_Walking\_AFK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Walking\_AFK](https://forums.unrealengine.com/u/The_Walking_AFK)\
**Post date:** [December 14, 2019, 4:49pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1586 "2019-12-14T16:49:33Z")

</div>

Anyone know how to get the lightmass configuration/installer batch script working with 4.24 , or how can I replicate manually turning up/down the quality?

I’ve got it installed fine but no idea how to adjust quality and in what increments. (I used to just use the batch script to change quality)

---

<div class="post-metadata">

**Author:** ![Tomas\_TDFM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tomas\_TDFM](https://forums.unrealengine.com/u/Tomas_TDFM)\
**Post date:** [December 16, 2019, 4:01am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1587 "2019-12-16T04:01:23Z")

</div>

> [@Stuudio\_Diviis](#):
>
> Hi all
> 
> Can i ask little help with finetuning GPULM.
> 
> UE 4.23.1  
> Lightmass set to 2048  
> LM settings on Ultra 128/32/1000  
> World settings:  
> 0.5  
> 100  
> 10  
> 10  
> 2.0  
> Diffuse boost 1.2
> 
> I receive some gradients in lightmap. Is this unresolved issue by GPULM(denoise) or i can adjust some settings to remove these?  
> Apartment walls are in one mesh.
> 
> ![Marginaal-20191214-150014.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/5/75f19bb9e185c33e3a9a8cccaeb729a97e5481f0.jpeg)

This looks like lightmap compression. Try to turn off “Compress Lightmaps” in World Settings and you should get clean result, but remember you usually don’t want to turn off compression for runtime projects like VR, games or whatever when you are “Playing” it. It’s memory heavy and can couse some problems with optimization and texture streaming if it’s bigger scene. For taking screenshots or video it’s OK.

> [@The\_Walking\_AFK](#):
>
> Anyone know how to get the lightmass configuration/installer batch script working with 4.24 , or how can I replicate manually turning up/down the quality?
> 
> I’ve got it installed fine but no idea how to adjust quality and in what increments. (I used to just use the batch script to change quality)

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.

* * *

[USER=“24021”]pax invictus[/USER] Thanks for updating to 4.24… You are the king 🙂

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

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