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

<div class="post-metadata">

**Author:** ![xaviprz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xaviprz](https://forums.unrealengine.com/u/xaviprz)\
**Post date:** [October 8, 2019, 7:49pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1461 "2019-10-08T19:49:18Z")

</div>

Hello! I’ve noticed that the radiosity pass takes longer on an RTX 2080Ti than an GTX 1080. Everything else works great!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_869fc7cf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_869fc7cf](https://forums.unrealengine.com/u/anonymous_user_869fc7cf)\
**Post date:** [October 9, 2019, 3:42am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1462 "2019-10-09T03:42:18Z")

</div>

Is there any way to change Lightmass Parameters like StaticLevelScale? I wanna Decrease this value but I when i change it to 0.2 , I cant see any changes !!!  
until i found this note that said in his first post :

Lightmass parameters and quality settings specified in the editor are ignored except for **Num Indirect Lighting Bounces**

**So How We can Change the Lightmass parameter to increase the lightmass quality ?!**

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![cootooz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cootooz](https://forums.unrealengine.com/u/cootooz)\
**Post date:** [October 9, 2019, 12:49pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1463 "2019-10-09T12:49:03Z")

</div>

Hello, for a large amount of time I can not deal with the problem of baking. On versions of the engine 4.20 and higher, noise appears. For example, I’m applying two pictures with identical scenes and Lightmass settings in versions 4.19 and 4.23. Please help me configure the Lightmass GPU on version 4.23 so that the baking looks like 4.19! Thank!

---

<div class="post-metadata">

**Author:** ![Alessiana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alessiana](https://forums.unrealengine.com/u/Alessiana)\
**Post date:** [October 10, 2019, 10:52am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1464 "2019-10-10T10:52:51Z")

</div>

I think there are some problem with foliage.  
Even if my foliage has “cast static shadows” disabled, they are taken into account by the lightmap system.  
Anyone with the same problem?

Thanks

---

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

</div>

> [@Alessiana](#):
>
> I think there are some problem with foliage.  
> Even if my foliage has “cast static shadows” disabled, they are taken into account by the lightmap system.  
> Anyone with the same problem?
> 
> Thanks

I have the same problem but I don’t think gpu lightmass has something to do with it.  
My current scene has lots (and lots) of foliage and even though I’ve disabled static shadows for them, and I’ve overriden their lightmap value to a low one (like 4) it crashes when baking (even when using cpu baking)…so I have to delete all the foliage, bake, then reapply the foliage…it’s annoying, and I’m wondering if there’s a way to “disable/deactivate” foliage when baking (or maybe I’m missing something).  
Maybe it’s a limitation of the engine…

---

<div class="post-metadata">

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

</div>

> [@Alessiana](#):
>
> I think there are some problem with foliage.  
> Even if my foliage has “cast static shadows” disabled, they are taken into account by the lightmap system.  
> Anyone with the same problem?
> 
> Thanks

I’m always uses the foliage with moveable option. Other way, always looks awful.

---

<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:** [October 10, 2019, 1:56pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1467 "2019-10-10T13:56:17Z")

</div>

Finally got 4.23.0 with Oculus integration built and running. Now thinking of integrating GPU Lightmass, but I remembered people were complaining about some issues that prevented them creating shipping builds.

What was the issue and how did you resolve it ? (and copying DLLs around wouldn’t help me at all)

---

<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:** [October 10, 2019, 10:00pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1468 "2019-10-10T22:00:23Z")

</div>

> [@](#):
>
> Finally got 4.23.0 with Oculus integration built and running. Now thinking of integrating GPU Lightmass, but I remembered people were complaining about some issues that prevented them creating shipping builds.
> 
> What was the issue and how did you resolve it ? (and copying DLLs around wouldn’t help me at all)

There shouldn’t be packaging issues anymore:

> [@](#):
>
> I have just updated the binaries after identified the problem.  
> Packaging should now be working correctly.  
> You would need to download the updated binaries from the same link as before, and apply them.  
> Let me know if the problem is still present after updating. Otherwise, send thanks to !

---

<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:** [October 11, 2019, 5:55am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1469 "2019-10-11T05:55:58Z")

</div>

@ and [USER=“24021”]pax invictus[/USER]  
The issue was that builds were created fine but crashed immediately on mobile. Black screen, three blinking dots and crash.  
I’m looking for the same combo; 4.23 Oculus build + GPU lightmass. Haven’t succeeded yet.  
I tried it with Pax’s binaries for 4.23 and UE failed to start. Thiugh, these binaries were from a month ago so maybe its fixed now. Will test later  
Edit; just downloaded the latest binary (9/17) and dropped it in the 4.23 O-VR directory. The Editor won’t start - just this error (see pic)

---

<div class="post-metadata">

**Author:** ![CEONDV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CEONDV](https://forums.unrealengine.com/u/CEONDV)\
**Post date:** [October 13, 2019, 3:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1470 "2019-10-13T15:52:03Z")

</div>

HI!! this is how it works with 4.23 thanks to@sgeraldes https://.com/sgeraldes/LightmassConfiguration when it downloads get me an error that say that can not find GPULightmass-UE4.23.0-release.zip but you can downloaded at [https://www.dropbox.com/sh/fjr63yeutafmip9/AADb1zE1tDQiONc5zw92O9LEa/GPULightmass-UE4.23.0-release.zip](https://www.dropbox.com/sh/fjr63yeutafmip9/AADb1zE1tDQiONc5zw92O9LEa/GPULightmass-UE4.23.0-release.zip) an put it first to the same Lightmass master folder configurator and then run the bat

---

<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:** [October 13, 2019, 8:52pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1471 "2019-10-13T20:52:50Z")

</div>

> [@](#):
>
> @ and [USER=“24021”]pax invictus[/USER]  
> The issue was that builds were created fine but crashed immediately on mobile. Black screen, three blinking dots and crash.  
> I’m looking for the same combo; 4.23 Oculus build + GPU lightmass. Haven’t succeeded yet.  
> I tried it with Pax’s binaries for 4.23 and UE failed to start. Thiugh, these binaries were from a month ago so maybe its fixed now. Will test later  
> Edit; just downloaded the latest binary (9/17) and dropped it in the 4.23 O-VR directory. The Editor won’t start - just this error (see pic)

You should not expect that the binaries will work with anything but the exact same version they were built against. They will not work on the Oculus fork.  
If you want to use GPU Lightmass with the Oculus fork, you’ll need to cherry-pick the last few commits from my fork and then rebuild the OVR fork.

---

<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:** [October 14, 2019, 5:34am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1472 "2019-10-14T05:34:32Z")

</div>

@Pax Still on my todo list. Lacking time at the moment

---

<div class="post-metadata">

**Author:** ![CGough](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CGough](https://forums.unrealengine.com/u/CGough)\
**Post date:** [October 16, 2019, 4:54pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1473 "2019-10-16T16:54:48Z")

</div>

Hi all,

Loving GPULightmass so far, it’s great and unbelievably powerful if you are careful with it.

Is it at all possible to decide what GPU to bake with?

I ask because I have a 2080 for TRX purposes and a 1060 that’s pretty useless, I know GPULM doesn’t support multi GPU/SLI or out of core stuff but is it at all possible to point it towards GPU1 or GPU0?

I guess the only other option is to plug my monitors into the 1060 and use that for general purpose work in 3Ds Max but the RTX would suffer in UE4 surely?

Many thanks.

---

<div class="post-metadata">

**Author:** ![samdax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samdax](https://forums.unrealengine.com/u/samdax)\
**Post date:** [October 17, 2019, 8:40am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1474 "2019-10-17T08:40:34Z")

</div>

I’m having a problem with Gpulightmass in Unreal 4.22.3. When light enters trough windows, this black shadows appears all along the walls, creating this extrange effect and not so goos. Sometimes this not append at the begining but after few renders it appears. Any suggestion?

Thanks!

---

<div class="post-metadata">

**Author:** ![CG\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CG\_VR](https://forums.unrealengine.com/u/CG_VR)\
**Post date:** [October 18, 2019, 2:15am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1475 "2019-10-18T02:15:01Z")

</div>

Hi，all.  
I use this tool bake light, but hava some problem, 2 mesh have same materials, but the lightmass calculate the different color

---

<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:** [October 19, 2019, 3:34pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1476 "2019-10-19T15:34:01Z")

</div>

> [@samdax](#):
>
> I’m having a problem with Gpulightmass in Unreal 4.22.3. When light enters trough windows, this black shadows appears all along the walls, creating this extrange effect and not so goos. Sometimes this not append at the begining but after few renders it appears. Any suggestion?
> 
> Thanks!

I think some people suggested to set brighter color than black in Skylight settings / Lower Hemisphere Color… Or maybe using HDR image instead of Capturing the Scene.

> [@CG\_VR](#):
>
> Hi，all.  
> I use this tool bake light, but hava some problem, 2 mesh have same materials, but the lightmass calculate the different color

This can happen when you have 2 separated meshes with the same material. This was bigger problem for me using default CPU lightmass, anyway the solution should be to merge two meshes and have it as 1 mesh (1 lightmap). Lights and shadows can be calculated little bit differently on every piece of mesh depending on light position/angle/intensity at the location of a mesh placement.  
If you have one mesh (one lightmap UV), you should get smooth transition from bright to dark color. In case of more meshes placed next to each other, you could get what you have. That’s why I’m usually trying to separate meshes only in corners or places, where this is not so noticeable. Hope this helps.

---

<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:** [October 19, 2019, 9:03pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1477 "2019-10-19T21:03:31Z")

</div>

Curious about lighting which as we all know is an exhaustive topic - atm I’m usingLightPropagationVolume which I understand is no longer being udpded although using it my scene look nice though not everywhere ( I get areas that are far too bright looking far from realistic ) ,and wondering should I indeed throw this out given current status and go with luo’s offering till I can get a serious card for ray-tracing whenever that’s ready ?

Atm have 2x2 5101 ( atm) world comp w/lots of playable areas, with DL and LPV atm,reading alot, watching vids but its so hard to get something that showcases ones work worthy of vision.

Thx

---

<div class="post-metadata">

**Author:** ![x0xcoldx0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@x0xcoldx0x](https://forums.unrealengine.com/u/x0xcoldx0x)\
**Post date:** [October 21, 2019, 8:02pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1480 "2019-10-21T20:02:39Z")

</div>

> [@](#):
>
> This error can be related to overclocking. Some non-founder version NV cards (like my ASUS GTX1080) run into this error frequently. I solved the problem on my card by applying a -200MHz shift.

Hi, how are you, the same problem happens to me too, you say you changed to 200MHz, how do I do that?

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [October 23, 2019, 8:28am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1481 "2019-10-23T08:28:19Z")

</div>

> [@x0xcoldx0x](#):
>
> Hi, how are you, the same problem happens to me too, you say you changed to 200MHz, how do I do that?

Underclock the gpu, there are many ways to do that.

Can we expect 4.23.1 binaries any time soon?

---

<div class="post-metadata">

**Author:** ![DoodleStudio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DoodleStudio](https://forums.unrealengine.com/u/DoodleStudio)\
**Post date:** [October 23, 2019, 6:46pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1482 "2019-10-23T18:46:41Z")

</div>

Hi,

I’m an absolute noob when it comes to coding. So I really don’t know what to do. I’ve merged the folders and restarted UE. When I press build after a moment the first photo pops up. If I ignore it the second comes and then just stops building. If I select retry on the first photo i don’t see the second error, and swarm agent reports that the “lightmass starting” grey block just continues to load indefinitely

Up to date NVIDIA studio driver (431.86). Swarm cache has been cleared multiple times too.

Any help is much appreciated. 🙂

EDIT\*\* it appears to be working as intended now after a shut down overnight. WIll leave this post up though in case anyone else runs into it.

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

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