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

<div class="post-metadata">

**Author:** ![moon.studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@moon.studio](https://forums.unrealengine.com/u/moon.studio)\
**Post date:** [May 30, 2020, 1:28pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1844 "2020-05-30T13:28:20Z")

</div>

Why im getting this problem " invalid argument "

---

<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:** [May 30, 2020, 6:26pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1845 "2020-05-30T18:26:56Z")

</div>

> [@mashna1364](#):
>
> HI,Can anyone help, what is the reason?  
> Lightmap density is ok. in Insane quality they are too.
> 
> ![InkedHighresScreenshot00001_LI.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f344be3a278feb7ef1846f151dc05fca092087b1.jpeg)

Have you tried with the CPU lightmass too? So, if it still happens, it should be an unwrapping issue.

Maybe they are two sided materials?

---

<div class="post-metadata">

**Author:** ![mrc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrc](https://forums.unrealengine.com/u/mrc)\
**Post date:** [June 1, 2020, 3:05pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1846 "2020-06-01T15:05:46Z")

</div>

Maybe this helps watch?v=GJPHKiShliM&t=861s

---

<div class="post-metadata">

**Author:** ![GiganteLND](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GiganteLND](https://forums.unrealengine.com/u/GiganteLND)\
**Post date:** [June 2, 2020, 7:29am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1847 "2020-06-02T07:29:15Z")

</div>

> [@](#):
>
> **GPU Lightmass 4.25.0**
> 
> Binaries [download](https://www.dropbox.com/sh/cy0glrw91gj0msm/AABh0hJFm3VIRslK29XaBPsia?dl=0)
> 
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.25.0-release)

I installed this but when lightmass starts it gives me “Invalid device symbol”, is NVIDIA 770 no longer supported? I have been using Unreal Engine 4.19 using GPU lightmass without problems…

---

<div class="post-metadata">

**Author:** ![southerncarl99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@southerncarl99](https://forums.unrealengine.com/u/southerncarl99)\
**Post date:** [June 2, 2020, 6:59pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1848 "2020-06-02T18:59:13Z")

</div>

Hey all,

I cant get the GPU lightmass to build with anything but default world settings. I set the indirect lighting bounces to 20 but it will only ever do 3. This happened after i split the level into two separate levels to use level streaming. It was working well before I did this. Has anyone had this problem and know a fix? See the image below. The radiosity pass used to do 20 passes now it will only ever do 3.

> **[GPU-Lightmass](https://ibb.co/Y3GrRqN)**
>
> Image GPU-Lightmass hosted in ImgBB

Also i’m building the light using this command to save memory if this might be the cause?

**You can use command line to launch the editor and bake lighting to save GPU resources for GPULightmass, especially video memory.**

- Engine/Binaries/Win64/UE4Editor-Cmd.exe “path o\your\project\yourproject.uproject” -run=resavepackages -buildlighting -allowcommandletrendering -map=/Game/Maps/MyMap.umap
- Remember to replace Content with Game in the umap path

---

<div class="post-metadata">

**Author:** ![tonpix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tonpix](https://forums.unrealengine.com/u/tonpix)\
**Post date:** [June 3, 2020, 11:40pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1849 "2020-06-03T23:40:32Z")

</div>

Does GPU lightmass support bouncing/indirect lightning from light sources other than Skylight/Directional light? I can’t get light bounced from areas directly lit by Spot/Point/Area light sources, Lightning view mode shows only direct lightning. Using 4.25, I think I had problem in 4.24.3 as well.

EDIT: I think I might have a clue - disabling Inverse Falloff from Spotlight seems to disable bouncing/indirect lightning (or possibly make it so weak you can’t see in Lightning viewport mode). Could anyone verify it?

---

<div class="post-metadata">

**Author:** ![lucascba2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucascba2](https://forums.unrealengine.com/u/lucascba2)\
**Post date:** [June 8, 2020, 11:35am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1850 "2020-06-08T11:35:42Z")

</div>

Hello! my first time writing in this beatiful place in the world. Thank you guys for all this time working on this proyect!

I`m working on 4.25 and got this really bad quality shadows but only from spotlights… all the assests are with big resolution maps, and my lightmass congif is good i think…

​​​​​​​VisibilityNormalOffsetSampleRadiusScale=.5

[DevOptions.StaticLightingProductionQuality]  
NumShadowRaysScale=32  
NumPenumbraShadowRaysScale=64

[DevOptions.GPULightmass]  
NumPrimaryGISamples=128  
NumSecondaryGISamples=64  
FireflyClampingThreshold=10000.0

any ideas?

---

<div class="post-metadata">

**Author:** ![mgnecco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mgnecco](https://forums.unrealengine.com/u/mgnecco)\
**Post date:** [June 8, 2020, 8:39pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1852 "2020-06-08T20:39:47Z")

</div>

> [@lucascba2](#):
>
> Hello! my first time writing in this beatiful place in the world. Thank you guys for all this time working on this proyect!
> 
> I`m working on 4.25 and got this really bad quality shadows but only from spotlights… all the assests are with big resolution maps, and my lightmass congif is good i think…
> 
> VisibilityNormalOffsetSampleRadiusScale=.5
> 
> [DevOptions.StaticLightingProductionQuality]  
> NumShadowRaysScale=32  
> NumPenumbraShadowRaysScale=64
> 
> [DevOptions.GPULightmass]  
> NumPrimaryGISamples=128  
> NumSecondaryGISamples=64  
> FireflyClampingThreshold=10000.0
> 
> any ideas?

Here the same thing is happening, lightmaps all in order and the shadow looks like this ☹

 ![WhatsApp Image 2020-06-08 at 16.37.28.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/4/04a9dc3cc05267e825b5204fe8577a504857b139.jpeg)​​​​​​​

---

<div class="post-metadata">

**Author:** ![HHVISION](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HHVISION](https://forums.unrealengine.com/u/HHVISION)\
**Post date:** [June 9, 2020, 3:35pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1853 "2020-06-09T15:35:15Z")

</div>

> [@tc22](#):
>
> dev rendering seem not wrok! any one can look this video help me?  
> [https://youtube.com/watch?v=BJWj98w3EUg](https://youtube.com/watch?v=BJWj98w3EUg)

For the Realtime Lightmap Progross, you have to enable Virtual Texturing in Project Settings. It looks Correct after Lightbuild, you have a red floor and the Color is bouncing on to the walls.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f26c856c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f26c856c1](https://forums.unrealengine.com/u/anonymous_user_f26c856c1)\
**Post date:** [June 9, 2020, 8:56pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1854 "2020-06-09T20:56:38Z")

</div>

> [@mgnecco](#):
>
> Here the same thing is happening, lightmaps all in order and the shadow looks like this ☹
> 
> ![WhatsApp Image 2020-06-08 at 16.37.28.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/4/04a9dc3cc05267e825b5204fe8577a504857b139.jpeg)​​​​​​​

Your table’s lightmap resolution is too low! /you can see the size of the texels!/

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f26c856c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f26c856c1](https://forums.unrealengine.com/u/anonymous_user_f26c856c1)\
**Post date:** [June 9, 2020, 8:58pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1855 "2020-06-09T20:58:05Z")

</div>

> [@lucascba2](#):
>
> Hello! my first time writing in this beatiful place in the world. Thank you guys for all this time working on this proyect!
> 
> I`m working on 4.25 and got this really bad quality shadows but only from spotlights… all the assests are with big resolution maps, and my lightmass congif is good i think…
> 
> ​​​​​​​VisibilityNormalOffsetSampleRadiusScale=.5
> 
> [DevOptions.StaticLightingProductionQuality]  
> NumShadowRaysScale=32  
> NumPenumbraShadowRaysScale=64
> 
> [DevOptions.GPULightmass]  
> NumPrimaryGISamples=128  
> NumSecondaryGISamples=64  
> FireflyClampingThreshold=10000.0
> 
> any ideas?

The same with your scene too:  
Your floor’s lightmap resolution is too low! /you can see the size of the texels!/

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f26c856c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f26c856c1](https://forums.unrealengine.com/u/anonymous_user_f26c856c1)\
**Post date:** [June 9, 2020, 9:03pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1856 "2020-06-09T21:03:49Z")

</div>

> [@mashna1364](#):
>
> HI,Can anyone help, what is the reason?  
> Lightmap density is ok. in Insane quality they are too.
> 
> ![InkedHighresScreenshot00001_LI.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f344be3a278feb7ef1846f151dc05fca092087b1.jpeg)

Your lightmap UVs is not ideal: too many seamscuts where you see the black pathes! Those are the edges of the given lightmap uv!  
You should try to create your own lightmap, keeping the full fabric (visible part) as one island!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f26c856c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f26c856c1](https://forums.unrealengine.com/u/anonymous_user_f26c856c1)\
**Post date:** [June 9, 2020, 9:08pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1857 "2020-06-09T21:08:40Z")

</div>

> [@Miguel1900](#):
>
> If objest is movable, GPU lightmass shouldn’t have any effect on it, as it’s not going to bake any lighting, right?

Since it creates the same volumetric samples in the world I’m assuming it works the same: you’ll need to turn on the use of static lighting on those movable meshes and tune the sample placement under lightmass (Volumetric Lightmap Detail Cell size…)!

---

<div class="post-metadata">

**Author:** ![lucascba2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lucascba2](https://forums.unrealengine.com/u/lucascba2)\
**Post date:** [June 11, 2020, 10:48pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1858 "2020-06-11T22:48:54Z")

</div>

> [@Makigirl](#):
>
> The same with your scene too:  
> Your floor’s lightmap resolution is too low! /you can see the size of the texels!/

Thank you Makigirl… the lightmap resolutions are very hight, but yes i need more! i dont undersatand why i used to work with that definition and it was fine, and now is not.

but now im working with all the walls exploded, each side a different object, and 1024 lightmaps… and is really better, but not good enough.

i will continue testing…

thank you!

---

<div class="post-metadata">

**Author:** ![moon.studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@moon.studio](https://forums.unrealengine.com/u/moon.studio)\
**Post date:** [June 13, 2020, 7:20pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1859 "2020-06-13T19:20:33Z")

</div>

hello … why I’m getting this problem and the GPU lightmass crash and it stop the light building …!!  
I’m using the 4.24.3 and 4.25.1 version and its the same problem :eek::mad:  
ps: I copied the engine file to the installation directory file.  
anyone have a proper installation guide I’ll be thankful … ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f26c856c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f26c856c1](https://forums.unrealengine.com/u/anonymous_user_f26c856c1)\
**Post date:** [June 13, 2020, 9:55pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1860 "2020-06-13T21:55:30Z")

</div>

> [@.studio](#):
>
> hello … why I’m getting this problem and the GPU lightmass crash and it stop the light building …!!  
> I’m using the 4.24.3 and 4.25.1 version and its the same problem :eek::mad:  
> ps: I copied the engine file to the installation directory file.  
> anyone have a proper installation guide I’ll be thankful … ☹

Try to clean and then validate the cache in swarm agent!

---

<div class="post-metadata">

**Author:** ![stvtic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stvtic](https://forums.unrealengine.com/u/stvtic)\
**Post date:** [June 14, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1861 "2020-06-14T16:09:20Z")

</div>

is 4.25.1 supported? i accidentally updated to 4.25.1 and now every time i try to bake lighting with gpu lightmass it throws an error after completing building BVH (the error says invalid argument)

---

<div class="post-metadata">

**Author:** ![moon.studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@moon.studio](https://forums.unrealengine.com/u/moon.studio)\
**Post date:** [June 14, 2020, 8:03pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1862 "2020-06-14T20:03:58Z")

</div>

> [@Makigirl](#):
>
> Try to clean and then validate the cache in swarm agent!

i did that but the problem still there look what it says on the swarm agent log

---

<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 15, 2020, 6:04am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1863 "2020-06-15T06:04:12Z")

</div>

**GPU Lightmass 4.25.1**

Binaries [download](https://www.dropbox.com/sh/usufp98yy7oq82j/AACKyfX8NxHO1HNwrxbNm1Tsa?dl=0)

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

---

<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:** [June 15, 2020, 7:06am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1864 "2020-06-15T07:06:50Z")

</div>

" GPULightmass Kernel: Line 106: cudaCheckError: invalid argument"  
☹

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

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