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

<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:** [September 14, 2023, 4:36pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2445 "2023-09-14T16:36:21Z")

</div>

> [@Casper\_AP](#):
>
> I can’t seem to be able to get this to work. After downloading I run the setup.bat through Git CMD and it gives back the following error

hi @Casper_AP ,  
I have tried this with error loging and the error is

```auto
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
</Error>

```

Looking at you initial entry you have not correctly set your path  
If you type “pwd” and you will probably find you are at C:\ the root  
under normal conditions users applications cannot make files there  
type

```auto
*Make a directory path /c/Users/Owner/source/repos
The “Owner” is replaced with your username.
or 

 *Make a directory path C:\Users\Owner\source\repos*
The “Owner” is replaced with your username.

Using Windows File Explorer

```

either way you need to  
$ cd /c/Users/Owner/source/repos

git clone into the directory as the readme explains  
then run ./setup.bat to pull down dependencies  
This error also ours when your path is long paths over 25 character is the often reason for an error

---

<div class="post-metadata">

**Author:** ![Casper\_AP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Casper\_AP](https://forums.unrealengine.com/u/Casper_AP)\
**Post date:** [September 15, 2023, 7:36am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2446 "2023-09-15T07:36:30Z")

</div>

Hello @Jimbohalo10 ,  
Thank you for fast response. Yesterday I downloaded the files and copied them over to my D drive because my C is quite full. I am not sure if I did the correct thing according to your response but this is what I tried today: I ran git CMD in `C:\Users\User\source\repos` (it already existed) Then downloaded the ue5Lgpu511 folder into here. Right clicked on it and used git BASH to run `./setup.bat` Unfortunately the same error occurred. If I run setup.bat through the git CMD and cd to the folder, I get `Aborting dependency updating due to unknown failure(s).`

I hope it’s clear what I’m trying to say, and thank you for your time.

---

<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:** [September 15, 2023, 12:02pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2450 "2023-09-15T12:02:05Z")

</div>

answer in post further on

---

<div class="post-metadata">

**Author:** ![Casper\_AP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Casper\_AP](https://forums.unrealengine.com/u/Casper_AP)\
**Post date:** [September 15, 2023, 1:29pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2451 "2023-09-15T13:29:24Z")

</div>

Hello,

I copied the git folder to `D:\Program Files\Git` and ran it. Then used it on the ue5Lgpu511 folder on the D drive. The same error occurred.  
I don’t really understand why you are saying the drive says its missing? The error states it failed to download because the archive was using an unsupported compression method?

I wish the old installation method was back 😅

---

<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:** [September 15, 2023, 2:19pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2452 "2023-09-15T14:19:48Z")

</div>

Hi @Casper_AP ,  
For the old method, for 5.1.1, its always been there.  
Go into Epic Games Launcher → Library  
see [EpicLauncher download 5.1.1](https://forums.unrealengine.com/t/unreal-engine-5-3-preview/1240016/149)  
on drive D:

The final version binary of 5.1 was infact 5.1.1  
the binary files which are used to replace the original comes form  
here.  
[jimshalo10/GPULightmass-patch-511: This is GPULightmass-patch-5.1.1 for Unreal Engine 5 Binary (github.com)](https://github.com/jimshalo10/GPULightmass-patch-511)

You just go to D:\Program Files\Epic Games\UE\_5.1 and extract unzip the archive on top of them. Its a zip file does not require Git.

[Latest 5.3.2 Binary Luoshuang’s GPULightmass](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2489)

You just go to D:\Program Files\Epic Games\UE\_5.3 and extract unzip the archive on top of them. Its a zip file does not require Git.

---

<div class="post-metadata">

**Author:** ![Casper\_AP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Casper\_AP](https://forums.unrealengine.com/u/Casper_AP)\
**Post date:** [September 15, 2023, 2:27pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2453 "2023-09-15T14:27:00Z")

</div>

Somehow I completely missed that, probably because I was looking for 5.3.0 at first. Thank you for your time.

---

<div class="post-metadata">

**Author:** ![Nickday](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nickday](https://forums.unrealengine.com/u/Nickday)\
**Post date:** [September 19, 2023, 5:22am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2454 "2023-09-19T05:22:06Z")

</div>

I can’t build solution LuoGPULightmass for Unreal 5.3.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/7/a27e888bdb700e3f6e12d6d7b2f81b9c4ac191d5.png)

---

<div class="post-metadata">

**Author:** ![Etheletic\_Engine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/etheletic_engine/32/88714_2.png) [@Etheletic\_Engine](https://forums.unrealengine.com/u/Etheletic_Engine)\
**Post date:** [September 19, 2023, 6:05am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2455 "2023-09-19T06:05:43Z")

</div>

It’s been a whole day since I am baking lights on CPU very bad results. But I come across this post and used files you have provided; I must say it’s literally took 3 minutes baking same scene (on GPU) and much nicer results Thanks, you saved my day. Now I can die in peace.

---

<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:** [September 19, 2023, 5:01pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2456 "2023-09-19T17:01:27Z")

</div>

Hi @nickday,  
Looking at the error log this is not errors from my repository code. Many people have used this 5.3 LGPU code. The code from LGPU 5.1 Cannot be mixed. I have hand code 5.3 code to work with LGPU at  
[LGPU 5.3 Git repo](https://github.com/jimshalo10/UnrealEngine-5/tree/Luoshuangs-GPULightmass-5.3)  
The error suggest a missing file CookMeta.h

 ![notmycodeError](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/4/644f53735d140c294b45471420ebb6ae5dd2276b.png)  
Line 42 of CookOnTheFlyServer.cpp

My code have the following at line 42 CookPackageSplitter.h  
![noLGPU53code|610x356, 50%]  
(upload://dMXRdAGMYj4YLcFzE7E3JWrfkNe.png)

I therefore suggest you archive your current code and use the repository link above.  
If you want the original 5.1 binary got to post  
[how to install 5.1 LGPU onto binary](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2454)

You just go to D:\Program Files\Epic Games\UE\_5.1 and extract unzip the archive on top of them. Its a zip file does not require Git.

[how to install 5.3.2 LGPU onto binary](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2489)

If you want to mess with my 5.4 preview binary see post  
[LGPU 5.4 preview binary combined](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2428)

Look into the future😁

---

<div class="post-metadata">

**Author:** ![AmrSrour](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amrsrour/32/465284_2.png) [@AmrSrour](https://forums.unrealengine.com/u/AmrSrour)\
**Post date:** [September 24, 2023, 3:55am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2457 "2023-09-24T03:55:34Z")

</div>

Is is Work With 5.3?

---

<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:** [September 24, 2023, 6:46am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2458 "2023-09-24T06:46:55Z")

</div>

hi @AmrSrour ,  
I have posted about this previously  
[LGPU 5.3.1 post](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2445)

---

<div class="post-metadata">

**Author:** ![Austin\_Amkay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Austin\_Amkay](https://forums.unrealengine.com/u/Austin_Amkay)\
**Post date:** [September 30, 2023, 9:27am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2459 "2023-09-30T09:27:20Z")

</div>

Noticed that UE5.3.1 is out @Jimbohalo10

---

<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:** [September 30, 2023, 3:38pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2460 "2023-09-30T15:38:39Z")

</div>

Hi @Austin_Amkay  
I have posted about this previously  
[LGPU 5.3.1 post](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2445)

---

<div class="post-metadata">

**Author:** ![AmrSrour](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amrsrour/32/465284_2.png) [@AmrSrour](https://forums.unrealengine.com/u/AmrSrour)\
**Post date:** [October 2, 2023, 11:16pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2461 "2023-10-02T23:16:04Z")

</div>

Should i Build it ?  
is there any old methode ?

---

<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:** [October 3, 2023, 6:50pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2462 "2023-10-03T18:50:52Z")

</div>

> is there any old methode ?

> 

[Luoshuang’s GPULightmass - 5.1.1 old method](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2454)

[Luoshuang’s GPULightmass - 5.3.2 old method](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2489)

---

<div class="post-metadata">

**Author:** ![AmrSrour](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amrsrour/32/465284_2.png) [@AmrSrour](https://forums.unrealengine.com/u/AmrSrour)\
**Post date:** [October 3, 2023, 8:35pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2463 "2023-10-03T20:35:15Z")

</div>

thanks man is this for 5.3 ?

---

<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:** [October 3, 2023, 8:49pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2464 "2023-10-03T20:49:22Z")

</div>

this is 5.1.1.  
The possibly end November 2023 for 5.3.1.

5.2 does NOT exist

---

<div class="post-metadata">

**Author:** ![AmrSrour](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/amrsrour/32/465284_2.png) [@AmrSrour](https://forums.unrealengine.com/u/AmrSrour)\
**Post date:** [October 3, 2023, 11:23pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2465 "2023-10-03T23:23:20Z")

</div>

> [@Jimbohalo10](#):
>
> The possibly end November 2023 for

ok thank you jimbohalo

---

<div class="post-metadata">

**Author:** ![Ozykz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ozykz/32/1194601_2.png) [@Ozykz](https://forums.unrealengine.com/u/Ozykz)\
**Post date:** [October 4, 2023, 2:30am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2466 "2023-10-04T02:30:37Z")

</div>

Is the same bug present in the Epic GPULM (seen here: [Epic's GPUlightmass - #481 by Arkiras](https://forums.unrealengine.com/t/epics-gpulightmass/139357/481) ) also present in the 5.3 version of Luoshuang’s GPULM?

---

<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:** [October 4, 2023, 6:06pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2467 "2023-10-04T18:06:14Z")

</div>

Hi Jumbohalo10, just a quick question, in ue5.4 your version there is not working quixel megascans? Or need to turn it on somewhere? Thank you

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

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