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

<div class="post-metadata">

**Author:** ![Melvixz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Melvixz](https://forums.unrealengine.com/u/Melvixz)\
**Post date:** [April 1, 2020, 1:23am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1779 "2020-04-01T01:23:50Z")

</div>

> [@](#):
>
> **GPU Lightmass 4.24.3**
> 
> Binaries [download](https://www.dropbox.com/sh/f2uefj6f87cxa0w/AAAPe_dtETKpr3y4WjTrhyfoa?dl=0)
> 
> Source [code](https://.com/irobot/UnrealEngine/tree/GPULightmass-UE4.24.3)

Thanks for this. A friend is trying this and getting invalid device symbol when trying to bake. Does that mean the gpu can’t run gpu lightmass?

---

<div class="post-metadata">

**Author:** ![RVillani](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rvillani/32/1194572_2.png) [@RVillani](https://forums.unrealengine.com/u/RVillani)\
**Post date:** [April 1, 2020, 1:09pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1780 "2020-04-01T13:09:58Z")

</div>

> [@Melvixz](#):
>
> Thanks for this. A friend is trying this and getting invalid device symbol when trying to bake. Does that mean the gpu can’t run gpu lightmass?

The first post in this thread says it’s only for NVidia GPUs. Would your friend happen to own an AMD card?

---

<div class="post-metadata">

**Author:** ![Melvixz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Melvixz](https://forums.unrealengine.com/u/Melvixz)\
**Post date:** [April 1, 2020, 11:32pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1781 "2020-04-01T23:32:34Z")

</div>

Its an Nvidia 780m card (old of course). I checked the driver latest version.Nvidia hasn’t updated the drivers for this card since last year if I am correct. I myself have used a Gtx 780M before with gpu lightmass in the past and it worked without any issues

---

<div class="post-metadata">

**Author:** ![Be-Are](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Be-Are](https://forums.unrealengine.com/u/Be-Are)\
**Post date:** [April 4, 2020, 11:07am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1782 "2020-04-04T11:07:15Z")

</div>

Hi there! I’m using Gpu Lightmass to bake the light and sometimes it appears this strange shadow. I’m not sure about the cause. I have been trying different types of light and it looks that it appears when I use many number of stoplights. It never appears when I use pointlights or rectlights. Also I have checked the lightmaps and they have been set up properly. Can someone help me? Thanks in advance!

---

<div class="post-metadata">

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

</div>

hello, I have a question if anyone knows why I have such a build error and how to fix it.------solved  
but i have next problem,when i type ToggleLightmapPreview 1 my ue4 is crashed

---

<div class="post-metadata">

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

</div>

**How I install 's GPULightmass with 4.24.3 version? I don´t found any folder for this version…**

---

<div class="post-metadata">

**Author:** ![Bdcoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdcoll](https://forums.unrealengine.com/u/Bdcoll)\
**Post date:** [April 11, 2020, 8:34am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1786 "2020-04-11T08:34:42Z")

</div>

> [@nina11](#):
>
> **How I install 's GPULightmass with 4.24.3 version? I don´t found any folder for this version…**

Extract the .rar file that Pax invictus posts in this threads into your 4.24\Engine folder. Theirs a readme in his documentation as well

---

<div class="post-metadata">

**Author:** ![Juha\_Ojala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juha\_Ojala](https://forums.unrealengine.com/u/Juha_Ojala)\
**Post date:** [April 11, 2020, 12:32pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1787 "2020-04-11T12:32:17Z")

</div>

I am so confused. I have a project done in Unreal Engine 4.23. What files do I need to copy for that? Can I switch between CPU and GPU build when this is done?

---

<div class="post-metadata">

**Author:** ![Bdcoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdcoll](https://forums.unrealengine.com/u/Bdcoll)\
**Post date:** [April 11, 2020, 1:46pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1788 "2020-04-11T13:46:06Z")

</div>

> [@Juha\_Ojala](#):
>
> I am so confused. I have a project done in Unreal Engine 4.23. What files do I need to copy for that? Can I switch between CPU and GPU build when this is done?

Extract the .rar file that Pax invictus posts in this threads into your 4.23\Engine folder. Theirs a readme in his documentation as well. To revert back to CPU, just verify your engine files

---

<div class="post-metadata">

**Author:** ![Redrocker72](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Redrocker72](https://forums.unrealengine.com/u/Redrocker72)\
**Post date:** [April 11, 2020, 2:58pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1789 "2020-04-11T14:58:17Z")

</div>

HI Everybody,

i still love this magic tool! It’s sooo cool!! (I’m still on 4.19)

But there’s one thing I can’t get working right; foliage.

My flowers (create with the foliage UE tool) are “burned” a bit … 🙂  
(see attached)

And with trees I have an other issue, setting them to static leads to very dark leaves.  
Setting them to stationary they don’t look good…

Beside off trying several things, turning off “two-Side” in the leave material, “erases” half of the tree… ☹  
and doesn’t make any difference… ☹ ☹

All foliage assets are take from the foliage-pack.

ANY HINTS where to look at or work-around would be great!

Thanks a lot in advance.

Jxrg

---

<div class="post-metadata">

**Author:** ![eugeniostephan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eugeniostephan](https://forums.unrealengine.com/u/eugeniostephan)\
**Post date:** [April 14, 2020, 8:40pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1790 "2020-04-14T20:40:17Z")

</div>

I have this error on 4.24.3. Anybody have an idea??

---

<div class="post-metadata">

**Author:** ![eugeniostephan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eugeniostephan](https://forums.unrealengine.com/u/eugeniostephan)\
**Post date:** [April 15, 2020, 6:43pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1791 "2020-04-15T18:43:39Z")

</div>

In new file i have this  
15:42:09: [Interface:TryOpenConnection] Local connection established  
15:42:09: [Job] Accepted Job C19B6EDC-4424072E-509FC8B7-E7011495  
15:42:11: [Job] Launched Job UnrealLightmass\_2020-03-07\_00-45-00\_1146880-64bit.exe  
15:42:11: [Job] PID is 4012  
15:42:11: [Job] GUID is “C19B6EDC-4424072E-509FC8B7-E7011495”  
15:42:11: LogLightmass: Display: Lightmass Win64 started on: MARTE. Command-line: C19B6EDC4424072E509FC8B7E7011495  
15:42:11: Failed to determine engine directory: Defaulting to …/…/…/Engine/  
15:42:11: Failed to load ‘aqProf.dll’ (GetLastError=126)  
15:42:11: File ‘aqProf.dll’ does not exist  
15:42:11: Failed to load ‘VtuneApi.dll’ (GetLastError=126)  
15:42:11: File ‘VtuneApi.dll’ does not exist  
15:42:11: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)  
15:42:11: File ‘VtuneApi32e.dll’ does not exist  
15:42:11: Lightmass Win64 started on: MARTE. Command-line: C19B6EDC4424072E509FC8B7E7011495  
15:42:11: LogLightmass: Display: Processing scene GUID: C19B6EDC4424072E509FC8B7E7011495 with 14 threads  
15:42:11: Processing scene GUID: C19B6EDC4424072E509FC8B7E7011495 with 14 threads  
15:42:11: Building static lighting…  
15:42:11: [OpenConnection] Registering TCP channel …  
15:42:11: [OpenConnection] Connecting to agent …  
15:42:11: [TryOpenConnection] Testing the Agent  
15:42:11: [TryOpenConnection] Opening Connection to Agent  
15:42:11: [TryOpenConnection] Local Process ID is 4012  
15:42:11: [Job] Found a parent connection for PID 4012  
15:42:11: [Job] 1978D0CB → 6A6C886D  
15:42:11: [Interface:TryOpenConnection] Local connection established  
15:42:11: Skylight import processing 0.004s with CubemapSize 128  
15:42:11: Measured CPU frequency: 3.60 GHz  
15:42:11: FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4  
15:42:11: Number of texture mappings: 10  
15:42:11: Number of fluid mappings: 0  
15:42:11: Number of landscape mappings: 0  
15:42:11: Number of BSP mappings: 0  
15:42:11: Number of static mesh instance mappings: 10  
15:42:11: Reserving memory for 10 meshes, 3235 vertices, 5360 triangles  
15:42:11: Reserving memory for 0 meshes, 0 vertices, 0 triangles  
15:42:11: Scene surface area calculated at 4.445 million units (61.125% of the estimated 7.272 million units)  
15:42:11: Importance volume surface area calculated at 4.445 million units (0.000% of the estimated 0.000 million units)  
15:42:11: Embree Build 0.0s  
15:42:11:  
15:42:11:  
15:42:11: Collision Mesh Overview:  
15:42:11: Num Triangles : 1392  
15:42:11: MeshInfos : 0.0Mb  
15:42:11: UVs : 0.0Mb  
15:42:11: LightmapUVs : 0.0Mb  
15:42:11: Embree Used Memory : 0.1Mb  
15:42:11:  
15:42:11:  
15:42:11: Processing…  
15:42:12: GPULightmass Kernel: Importing mesh: 1027 vertices, 1392 triangles  
15:42:12: GPULightmass Kernel: Embree SBVH Construction finished, 7MS  
15:42:12: GPULightmass Kernel: Convert to CudaBVH finished, 0MS  
15:42:12: GPULightmass Kernel: GPU BVH video memory size: 0.05MB, triangle payload size: 0.11MB  
15:42:12: GPULightmass Kernel: Bind CudaBVH finished, 1MS  
15:42:12: GPULightmass Kernel: GPU triangle parameterization data size: 0.04MB  
15:42:12: GPULightmass Kernel: 0 masked collision maps imported  
15:42:12: GPULightmass Kernel: 1 directional lights, 0 point lights and 0 spot lights imported  
15:42:12: Started task graph with 4 named threads and 18 total threads with 1 sets of task threads.  
15:42:12: GPULightmass Kernel: Total surface cache video memory data: 0.51MB  
15:42:12: GPULightmass Kernel: RadiosityPass 0  
15:42:12: GPULightmass Kernel: RadiosityPass 1  
15:42:12: GPULightmass Kernel: RadiosityPass 2  
15:42:12: GPULightmass Kernel: RadiosityPass 3  
15:42:12: GPULightmass Kernel: RadiosityPass 4  
15:42:12: GPULightmass Kernel: RadiosityPass 5  
15:42:12: GPULightmass Kernel: RadiosityPass 6  
15:42:12: GPULightmass Kernel: RadiosityPass 7  
15:42:12: GPULightmass Kernel: RadiosityPass 8  
15:42:12: GPULightmass Kernel: RadiosityPass 9  
15:42:12: GPULightmass Kernel: RadiosityPass 10  
15:42:12: GPULightmass Kernel: RadiosityPass 11  
15:42:12: GPULightmass Kernel: RadiosityPass 12  
15:42:12: GPULightmass Kernel: RadiosityPass 13  
15:42:12: GPULightmass Kernel: RadiosityPass 14  
15:42:12: GPULightmass Kernel: RadiosityPass 15  
15:42:12: GPULightmass Kernel: RadiosityPass 16  
15:42:12: GPULightmass Kernel: RadiosityPass 17  
15:42:12: GPULightmass Kernel: RadiosityPass 18  
15:42:12: GPULightmass Kernel: RadiosityPass 19  
15:42:12: GPULightmass Kernel: RadiosityPass 20  
15:42:12: GPULightmass Kernel: RadiosityPass 21  
15:42:12: GPULightmass Kernel: RadiosityPass 22  
15:42:12: GPULightmass Kernel: RadiosityPass 23  
15:42:12: GPULightmass Kernel: RadiosityPass 24  
15:42:12: GPULightmass Kernel: RadiosityPass 25  
15:42:12: GPULightmass Kernel: RadiosityPass 26  
15:42:12: GPULightmass Kernel: RadiosityPass 27  
15:42:12: GPULightmass Kernel: RadiosityPass 28  
15:42:12: GPULightmass Kernel: RadiosityPass 29  
15:42:12: GPULightmass Kernel: RadiosityPass 30  
15:42:12: GPULightmass Kernel: RadiosityPass 31  
15:42:12: GPULightmass Kernel: GPU accumulated time: 0.288s (Current: 288.143MS), 452.09MRays/s, 127213 texels  
15:42:14: [Job] Job is a success!  
15:42:14: GPULightmass Kernel: GPU accumulated time: 0.223s (Current: 222.714MS), 217.95MRays/s (Current: 217.95MRays/s), 23701 texels, 215x215 texture  
15:42:14: Lighting 17.2%  
15:42:14: Lighting 27.9%  
15:42:14: Lighting 38.5%  
15:42:14: Lighting 47.1%  
15:42:14: Lighting 55.8%  
15:42:14: Lighting 64.4%  
15:42:14: Lighting 100.0%  
15:42:15:  
15:42:15:  
15:42:15: Total Static Lighting time: 0.62 seconds, 14 threads  
15:42:15: 0.8% 0.0s Scene setup  
15:42:15: 96.6% 0.6s Lighting  
15:42:15: 2.6% 0.0s Unaccounted  
15:42:15:  
15:42:15:  
15:42:15:  
15:42:15: Total busy Lighting thread seconds: 0.29  
15:42:15: 39.7% 0.1s Texel and vertex setup  
15:42:15: 28.9% 0.1s Direct lighting  
15:42:15: 0.0% 0.0s Area shadows with 0.000 million rays  
15:42:15: 3.9% 0.0s Signed distance field source sparse sampling  
15:42:15: 22.1% 0.1s Signed distance field source refining sampling  
15:42:15: 2.6% 0.0s Signed distance field transition searching  
15:42:15: 0.2% 0.0s Unaccounted  
15:42:15: 0.0% 0.0s Block on indirect lighting cache tasks  
15:42:15: 0.0% 0.0s Block on IrradianceCache Interpolation tasks  
15:42:15: 5.2% 0.0s Volumetric Lightmap - 0.001 million samples  
15:42:15: 0.4% 0.0s VoxelizationTime  
15:42:15: 0.0% 0.0s GatherImportancePhotons  
15:42:15: 0.2% 0.0s DirectLightingTime  
15:42:15: 23.8% 0.1s FinalGatherTime  
15:42:15: 26.0% 0.1s Unaccounted  
15:42:15:  
15:42:15:  
15:42:15: Indirect lighting cache task thread seconds: 0.00  
15:42:15: -nan(ind)% 0.0s FirstBounceRayTraceTime for 0.000 million rays  
15:42:15: -nan(ind)% 0.0s CalculateExitantRadiance  
15:42:15:  
15:42:15: Traced 0.224 million first hit visibility rays for a total of 0.0 thread seconds (8.650 million per thread second)  
15:42:15: Traced 0.000 million boolean visibility rays for a total of 0.0 thread seconds (-nan(ind) million per thread second)  
15:42:15: Scene radius 760.7, Importance bounds radius 0.0  
15:42:15: 10 Mappings, 0.045 million Texels, 0.030 million mapped texels  
15:42:15:  
15:42:15: 3.3% of Total Lighting thread seconds on Texture Mappings, 0% on Volume Samples, 5% on Volumetric Lightmap, 0% on Visibility, 91.5% Unaccounted  
15:42:15: 1 Lights total, 0.0 Shadow rays per light sample on average  
15:42:15: Signed distance field shadows: 6.8 average upsample factor, 0.024 million sparse source rays, 0.075 million refining source rays, 0.004 million transition search scatters  
15:42:15:  
15:42:15: 0.0% Bounce 3 Irradiance cache miss rate (194540544.000 million lookups, 0.000 million misses, 0.000 million inside geometry)  
15:42:15: 0.0% Bounce 5 Irradiance cache miss rate (18446744027136.000 million lookups, 4294.967 million misses, 0.000 million inside geometry)  
15:42:15: 0.0% Bounce 7 Irradiance cache miss rate (0.000 million lookups, 0.000 million misses, 0.131 million inside geometry)  
15:42:15: 0.0% Bounce 8 Irradiance cache miss rate (140730832.000 million lookups, 0.000 million misses, 814879.313 million inside geometry)  
15:42:15: 0.0% Bounce 9 Irradiance cache miss rate (140728400.000 million lookups, 1342.177 million misses, 0.001 million inside geometry)  
15:42:15: 0.0% Bounce 12 Irradiance cache miss rate (140730832.000 million lookups, 0.000 million misses, 0.000 million inside geometry)  
15:42:15: 0.0% Bounce 13 Irradiance cache miss rate (18446744027136.000 million lookups, 0.000 million misses, 814879.313 million inside geometry)  
15:42:15: 114.3% Bounce 14 Irradiance cache miss rate (30064.771 million lookups, 34359.738 million misses, 4294.967 million inside geometry)  
15:42:15: 0.0% Bounce 16 Irradiance cache miss rate (2999182.500 million lookups, 0.000 million misses, 0.000 million inside geometry)  
15:42:15: 100.0% Bounce 17 Irradiance cache miss rate (140730864.000 million lookups, 140730864.000 million misses, 0.000 million inside geometry)  
15:42:15: 115.7% Bounce 22 Irradiance cache miss rate (4575657459712.000 million lookups, 5296233119744.000 million misses, 1233.125 million inside geometry)  
15:42:15: 0.0% Bounce 23 Irradiance cache miss rate (5255700938752.000 million lookups, 811748.813 million misses, 812889.938 million inside geometry)  
15:42:15: 0.0% Bounce 24 Irradiance cache miss rate (811748.813 million lookups, 0.000 million misses, 0.000 million inside geometry)  
15:42:15: 38242086813696.0% Bounce 25 Irradiance cache miss rate (0.000 million lookups, 140730864.000 million misses, 0.000 million inside geometry)  
15:42:15: 214748364800.0% Bounce 28 Irradiance cache miss rate (8589.935 million lookups, 18446744027136.000 million misses, 4294.967 million inside geometry)  
15:42:15: 19000.0% Bounce 32 Irradiance cache miss rate (4294.967 million lookups, 816043.813 million misses, 0.000 million inside geometry)  
15:42:15: Final Gather: 0.0s on 0.000 million base samples, 0.0s on 0.000 million refining samples for 3 refinement levels.  
15:42:15: 179.7 Mb Peak Working Set  
15:42:15:  
15:42:15:  
15:42:15: Lightmass on MARTE: 3.76 sec total, 64 ms importing, 4 ms setup, 3 ms photons, 2.96 sec processing, 0 ms extra exporting [10/10 mappings]. Threads: 44.3 sec total, 210 ms processing.  
15:42:15: Lighting complete [Startup = 64 ms, Lighting = 3.54 sec]  
15:42:15: Failed to send back log file through Swarm!  
15:42:15: [CloseConnection] Closing connection 6A6C886D using handle 6A6C886D  
15:42:15: [CloseConnection] Connection confirmed for disconnection 6A6C886D  
15:42:15: [CloseConnection] Connection disconnected 6A6C886D  
15:42:15: [GetMessage] Safely returning to 6A6C886D with no message  
15:42:15: [CloseConnection] Closing connection 1978D0CB using handle 1978D0CB  
15:42:15: [CloseConnection] Connection confirmed for disconnection 1978D0CB  
15:42:15: [CloseConnection] Closing orphaned Job (C19B6EDC-4424072E-509FC8B7-E7011495)  
15:42:15: [CloseConnection] Connection disconnected 1978D0CB  
15:42:15: [GetMessage] Safely returning to 1978D0CB with no message  
15:42:15: [MaintainConnections] Local connection has closed (6A6C886D)  
15:42:15: [MaintainConnections] Local connection has closed (1978D0CB)  
15:42:15: [MaintainConnections] Removed connection 6A6C886D  
15:42:15: [MaintainConnections] Removed connection 1978D0CB  
15:42:15: [MaintainConnections] All connections have closed

---

<div class="post-metadata">

**Author:** ![Kaamag](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaamag](https://forums.unrealengine.com/u/Kaamag)\
**Post date:** [April 16, 2020, 1:11am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1792 "2020-04-16T01:11:36Z")

</div>

Hi guys,

Is this gpu usage normal?

---

<div class="post-metadata">

**Author:** ![enoes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@enoes](https://forums.unrealengine.com/u/enoes)\
**Post date:** [April 16, 2020, 9:02am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1793 "2020-04-16T09:02:17Z")

</div>

Best experience Game Ready Driver or Studio Driver ?

---

<div class="post-metadata">

**Author:** ![KACPEROGO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KACPEROGO](https://forums.unrealengine.com/u/KACPEROGO)\
**Post date:** [April 24, 2020, 7:15am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1795 "2020-04-24T07:15:26Z")

</div>

Hello, I post it just to share my observation. I use 4.24.3 with GPU Lightmass and had a constant problem with Lightmass crashes. The problem was with the terrain, I had some static geometry attached to it. After detaching trees and turning static shadow off it finally worked.

---

<div class="post-metadata">

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

</div>

Hi,  
does anybody have a solution to this problem? Here I’m using UE dev-rendering (4.26) and I also baked the scene using GPU Lightmass. How you can see there are some problems when I bake rounded objects. The smoothing groups are not working properly here you can find more info: [[UE FACETED SMOOTHING GROUPS AFTER BAKING (Luoshuang's GPULightmass) - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/956758/ue-faceted-smoothing-groups-after-baking-.html)

 ![test_02_baking.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/6/36da0cba12d24acc66b41e067001ccfbd83fb112.jpeg)]([UE FACETED SMOOTHING GROUPS AFTER BAKING (Luoshuang's GPULightmass) - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/956758/ue-faceted-smoothing-groups-after-baking-.html))

---

<div class="post-metadata">

**Author:** ![Julian\_Vinet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Julian\_Vinet](https://forums.unrealengine.com/u/Julian_Vinet)\
**Post date:** [April 28, 2020, 8:14am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1797 "2020-04-28T08:14:30Z")

</div>

Normally this bug is resolved with this commit  
https://.com/EpicGames/UnrealEngine/commit/f1b947476179b32a295b88bdaa7cf0b2f87d622f

---

<div class="post-metadata">

**Author:** ![christianstamati](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christianstamati](https://forums.unrealengine.com/u/christianstamati)\
**Post date:** [April 29, 2020, 8:02am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1798 "2020-04-29T08:02:01Z")

</div>

> [@Julian\_Vinet](#):
>
> Normally this bug is resolved with this commit  
> https://.com/EpicGames/UnrealEngine/commit/f1b947476179b32a295b88bdaa7cf0b2f87d622f

\*\*Yes, I confirm! \*\*This morning my computer finally compiled Unreal Engine 4.26. When VS finished building I don’t know why sometimes I’m getting this error:

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/a/7a6f06fa05bfb1e4cd5b5e9b725fbc1ed2b8182f.png)

But It’s strange because it’s not my first time that I build the engine I did It 2 days ago and it was everything ok… Anyway I launched it and even if there was this error it was working…  
I made quick plane and cylinder in max with uvs and smoothing groups and I tested It, **the result was amazing!** And since I have an RTX 2070 it took no time to render.

 ![DefaultRender_SR_40.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/b/4b78a56f0decd1d9191f3f016589e55d070b1efd.jpeg)

Settings:

- ShadowSamplePerTexel = 1024
- SampleperTexel = 1024
- PointLight ( **Source Radius** = 40)
- Lightmap Res = 1024

I also tried increasing more the Source radius of the light (160) and I got this result with the same settings:

 ![DefaultRender_SR_160_2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/b/7bfb0e273baceecfd446231fe4192263f905da50.jpeg)

But I think it’s ok, after I will trow a high res texture on the surface that edge will not be noticeable…

GPULightmass is really good feature it’s solving a lot of problems:

- Baking Time
- Edge Bleeding
- Smoothing Groups Faceting Artifacts
- Modular Assets Baking problems ecc…

**I really can’t wait to see it on the official release!**

---

<div class="post-metadata">

**Author:** ![Luoshuang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luoshuang](https://forums.unrealengine.com/u/Luoshuang)\
**Post date:** [April 29, 2020, 2:46pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1799 "2020-04-29T14:46:41Z")

</div>

> [@christianstamati](#):
>
> \*\*Yes, I confirm! \*\*This morning my computer finally compiled Unreal Engine 4.26.

1. Does disabling denoiser (r.GPULightmass.DenoiseGIOnCompletion=0) help with the edge problem?
2. There are advanced methods like \*\*Caching GI Engine \*\*(https://.com/EpicGames/UnrealEngine/commit/bbd6f39d7a145dd3919d2161f1311fd423bd0163) and **Ray Guiding** (https://.com/EpicGames/UnrealEngine/commit/ee5a8618e7dfe526a3fb96535f7c3636ad941556). Read the comments of the commits to see how to use them :o

---

<div class="post-metadata">

**Author:** ![Orbit\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orbit\_Studio](https://forums.unrealengine.com/u/Orbit_Studio)\
**Post date:** [April 29, 2020, 5:24pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1800 "2020-04-29T17:24:33Z")

</div>

Hi,

I have some problem with a scene that I have baked a lot of time but not I have this issue…  
Which is the reason? It can’t be a RAM problem because I’ve already bake this scene! I also tried to transfer the model to a new file but same error …

Thanks!

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

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