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

<div class="post-metadata">

**Author:** ![Olegsbr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olegsbr](https://forums.unrealengine.com/u/Olegsbr)\
**Post date:** [May 14, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2405 "2023-05-14T18:45:10Z")

</div>

Hi Jimbohalo10,  
Many thanks to you! I have a very good PC )  
I hope I could make this build using your instructions )))

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 14, 2023, 7:15pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2406 "2023-05-14T19:15:38Z")

</div>

Hi @Olegsbr ,  
If you get a problem tell me as its probably a documentation error easily fixed. I recently found a problem with Swarm so that could cause confusion

---

<div class="post-metadata">

**Author:** ![Olegsbr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olegsbr](https://forums.unrealengine.com/u/Olegsbr)\
**Post date:** [May 15, 2023, 11:30am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2407 "2023-05-15T11:30:26Z")

</div>

Great! Thank you!!!

---

<div class="post-metadata">

**Author:** ![cretzsf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cretzsf](https://forums.unrealengine.com/u/cretzsf)\
**Post date:** [May 23, 2023, 3:21am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2408 "2023-05-23T03:21:54Z")

</div>

Hi, @Jimbohalo10

Clear a doubt. Loushang gpu lightmass not suport for UE 5.2?

I searched here but found it for UE 5.3.

I’m sorry. Maybe I didn’t search properly.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 23, 2023, 4:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2409 "2023-05-23T16:01:00Z")

</div>

> [@cretzsf](#):
>
> Clear a doubt. Loushang gpu lightmass not suport for UE 5.2?

If there is going to be support for 5.2 luoshuangs-gpulightmass it wont be from @Jimbohalo10 .

EPIC GPU Lightmass for is basically in 5.2 for Graphics card like RTX 2000 series upward

The 5.2 source code wont work with the binary and in about 6 months time 5.3 will be the released major version.  
See previous post [Why there won’t be Luoshuang’s GPULightmass 5.2](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2397)

---

<div class="post-metadata">

**Author:** ![Faiscajoe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Faiscajoe](https://forums.unrealengine.com/u/Faiscajoe)\
**Post date:** [May 24, 2023, 3:23pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2410 "2023-05-24T15:23:11Z")

</div>

Hey @Jimbohalo10, could you help me with something please

I’m having this problem on 5.1.1. Weird shadow artifacts. I think they are related to the indirect light, but I don’t know how to fix it… The assets are already on a high lightmap resolution and i’m not using compression.

 ![Screenshot_1437](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/5/785912ea388a188df8f061671d49de547ccbb4a4.jpeg)  
 ![Screenshot_1436](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/0/b101361927ec8049718e16fba35c97e60e23fe9c.jpeg)  
 ![Screenshot_1435](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/4/394b59fb182dd9d2b2e59b4ad7d04f3d3b406419.jpeg)

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [May 24, 2023, 6:39pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2411 "2023-05-24T18:39:19Z")

</div>

Hi @Faiscajoe,  
I only make new versions of the code and test them on working samples and comparing them. I do not have any experience with making new content. Hopefully someone will be able to help

---

<div class="post-metadata">

**Author:** ![RageSt144](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RageSt144](https://forums.unrealengine.com/u/RageSt144)\
**Post date:** [May 26, 2023, 3:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2412 "2023-05-26T15:01:25Z")

</div>

Try changing your Lighting Build quality to Medium/Production. That should fix some stuff. If it doesn’t try changing the amount of Indirect Static Lighting Bounces on Lightmass World Settings.

---

<div class="post-metadata">

**Author:** ![Gudik1337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gudik1337](https://forums.unrealengine.com/u/Gudik1337)\
**Post date:** [June 17, 2023, 1:06pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2413 "2023-06-17T13:06:23Z")

</div>

Hi Luo, can you please make GPU Lightmass for UE 5.2?

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [June 20, 2023, 10:23am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2414 "2023-06-20T10:23:34Z")

</div>

@Jimbohalo10 Hi Dear can you point me the download link of LGPULM for 5.1. The one i had is not working anymore after i updated the UE 5.1. Please share the link of that will work in UE 5.1.

THANK YOU.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 20, 2023, 6:21pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2415 "2023-06-20T18:21:56Z")

</div>

Hi @3darchstuffs.com  
Repository is at

[UnrealEngine-5/README.md at Luoshuangs-GPULightmass-5.1.1-vs2022 · jimshalo10/UnrealEngine-5 (github.com)](https://github.com/jimshalo10/UnrealEngine-5/blob/Luoshuangs-GPULightmass-5.1.1-vs2022/README.md)

Binary version  
[GPULightmass-patch-511/README.MD at GPULightmass-patch-511 · jimshalo10/GPULightmass-patch-511 (github.com)](https://github.com/jimshalo10/GPULightmass-patch-511/blob/GPULightmass-patch-511/README.MD)

For some unknown reason the links keep being changed

---

<div class="post-metadata">

**Author:** ![KaraevElmin1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karaevelmin1/32/884894_2.png) [@KaraevElmin1](https://forums.unrealengine.com/u/KaraevElmin1)\
**Post date:** [June 28, 2023, 10:48am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2416 "2023-06-28T10:48:04Z")

</div>

Hi. I have the same problem. I have an RTX 4090 graphics card. The load is on the CPU and the GPU is resting. Can you tell me the solution to this problem?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/d/6ed3f2b4ca8bf4f45e8c099ea1f9f8b10967c6a6.png)

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [June 30, 2023, 9:53pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2417 "2023-06-30T21:53:20Z")

</div>

hi @EliM and @ATNeo ,  
There is new documentation for 5.2 and in 5.1 documentation talks about configuring Nvidia drivers.  
[GPU Lightmass Global Illumination in Unreal Engine | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/5.2/en-US/gpu-lightmass-global-illumination-in-unreal-engine/)

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [July 1, 2023, 1:38pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2418 "2023-07-01T13:38:15Z")

</div>

@Jimbohalo10 - Hi Dear can you Please confirm if the Loushuang Lightmass binary version available above in the chat on github will work on UE 5.4 which I have compiled from git hub ue main branch.

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [July 1, 2023, 8:51pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2419 "2023-07-01T20:51:46Z")

</div>

@3darchstuffs.com ,  
The original **Epic** Lightmass for 5.4 will probably work,  
_The 5.4 version is available at_

[LGPU 5.4 BINARY announcement](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2428)

[UnrealEngine-5/README.md at Luoshuangs-GPULightmass-5.4-preview · jimshalo10/UnrealEngine-5 (github.com)](https://github.com/jimshalo10/UnrealEngine-5/blob/Luoshuangs-GPULightmass-5.4-preview/README.md)

---

<div class="post-metadata">

**Author:** ![3darchstuffs.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3darchstuffs.com](https://forums.unrealengine.com/u/3darchstuffs.com)\
**Post date:** [July 2, 2023, 4:35am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2420 "2023-07-02T04:35:47Z")

</div>

@Jimbohalo10 - The way you help the community and anyone in need is commendable my dear friend. Thank you so much for being so amazing, always stay the same.

Lots of Love to you from INDIA.

Going to try the above as you have mentioned and test my Luck.

Again thank you so much.

---

<div class="post-metadata">

**Author:** ![Artadecram](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Artadecram](https://forums.unrealengine.com/u/Artadecram)\
**Post date:** [July 4, 2023, 11:57am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2421 "2023-07-04T11:57:47Z")

</div>

I can’t download luoshuangs plugin from original sourse - can you upload in other place?

---

<div class="post-metadata">

**Author:** ![KaraevElmin1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karaevelmin1/32/884894_2.png) [@KaraevElmin1](https://forums.unrealengine.com/u/KaraevElmin1)\
**Post date:** [July 5, 2023, 4:25pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2422 "2023-07-05T16:25:26Z")

</div>

I have a problem. I started doing a commercial project in version 5.1. Baked used Luoshuang. I started making changes to the project and bakeout stopped working. I could not solve the error. I created a new project and moved all the meshes. Baked works fine. After some time baking stopped working. I repeated the same action and baked the whole scene and everything was fine. For the last week, I’ve been setting up materials and setting up artificial light. It was time for the final bake. Error. The Luoshuang light stopped baking. The GPU Lightmass bake-in is working. Help me solve this problem.

 ![photo_2023-07-05_17-41-19](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/4/29490b77f5365ff97d1b7ccd0ffc9d03615da05b.jpeg)  
 ![photo_2023-07-05_17-41-29](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/2/be2cecadb0207a6d18d0aa501e50e98d05679bf3.jpeg)  
 ![photo_2023-07-05_17-41-43](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/c/a/3ca3338ab06fc7160e92c503fbf48124354d4799.jpeg)  
 ![photo_2023-07-05_18-01-47](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/d/34d22e60b3e92732feb60e287565eb7373e1c5c9.jpeg)  
 ![photo_2023-07-05_19-24-35](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/e/43e97e93aff7dda89e9fa843ba790e1c504cff88.jpeg)

---

<div class="post-metadata">

**Author:** ![KaraevElmin1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karaevelmin1/32/884894_2.png) [@KaraevElmin1](https://forums.unrealengine.com/u/KaraevElmin1)\
**Post date:** [July 6, 2023, 8:20am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2423 "2023-07-06T08:20:17Z")

</div>

![photo_2023-07-06_10-53-11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/6/5b664db9d9669ad3a94634deaad7f3f93c3bf67e.jpeg)  
 ![photo_2023-07-06_10-53-13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/d/0ed97e20dd2d89b51a4f0222c8a14cdca9c03d0c.jpeg)

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [July 6, 2023, 7:58pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2424 "2023-07-06T19:58:21Z")

</div>

Hi @KaraevElmin1,  
Rreading the source code the Code is a failure due to send to types of Static Mesh. That means Standard Static Mesh and Nanite Mesh. This seems to cause some sort of Ray Tracing Error.  
The only obvious thing to done is to turn all Nanite Mesh and back to Static Mesh . Then Select all Static Messes and convert to Nanite again. This will recompile all the Shaders once more and more important allocate sufficeient space for Nanite structures.  
It seems that you are trying to call a function called `BuildRayTracingData` in the `Nanite` namespace. This function takes two arguments: a reference to an object of type `Nanite::FResources` and a reference to an array of objects of type `Nanite::FCluster`.

This function is part of the Nanite virtualized geometry system which uses a new internal mesh format and rendering technology to render pixel scale detail and high object counts

Because of the micro detail that Nanite is able to achieve, it might be assumed that it means a large increase in geometry data resulting in larger game package sizes and downloads for players. However, the reality isn’t that dire. In fact, Nanite’s mesh format is significantly smaller than the standard Static Mesh format because of Nanite’s specialized mesh encoding.

[Nanite Virtualized Geometry in Unreal Engine | Unreal Engine 5.0 Documentation](https://docs.unrealengine.com/5.0/en-US/nanite-virtualized-geometry-in-unreal-engine/#:~:text=Because%20of%20the%20micro%20detail%20that,because%20of%20Nanite%27s%20specialized%20mesh%20encoding.&text=Because%20of%20the%20micro,Nanite%27s%20specialized%20mesh%20encoding.&text=the%20micro%20detail%20that,because%20of%20Nanite%27s%20specialized)

There is some incremental error.  
EPIC GPU Lightmass cannot be compared to LGPU Lightmass as they function completley different ways LGPU is CUDA based EPIC is Generic card based

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

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