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

<div class="post-metadata">

**Author:** ![DsyD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DsyD](https://forums.unrealengine.com/u/DsyD)\
**Post date:** [February 19, 2020, 5:39pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1714 "2020-02-19T17:39:36Z")

</div>

> [@SonKim](#):
>
> I guess we’ll get a preview at GDC 2020. Since they mention unrelease rendering technology preview.

So, according to the [plugin description](https://.com/EpicGames/UnrealEngine/blob/dev-rendering/Engine/Plugins/Experimental/GPULightmass/GPULightmass.uplugin), it uses DXR. I wonder if that means the project needs to have ray-tracing enabled. At the least, it means it will require a DXR-capable GPU…I hope that doesn’t mean that the packaged project will require players to have a DXR-capable card.

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [February 20, 2020, 10:21am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1715 "2020-02-20T10:21:29Z")

</div>

https://player.vimeo.com/video/389887439

nice rendering method

---

<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:** [February 20, 2020, 12:04pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1716 "2020-02-20T12:04:17Z")

</div>

> [@DsyD](#):
>
> ..I hope that doesn’t mean that the packaged project will require players to have a DXR-capable card.

I expect the result, a baked light solution, will just work on all GPU’s.

---

<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:** [February 20, 2020, 2:26pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1717 "2020-02-20T14:26:42Z")

</div>

> [@](#):
>
> I expect the result, a baked light solution, will just work on all GPU’s.

Will only work on 1060 series and up (natively on RTX cards and via software driver support on 1060+)

---

<div class="post-metadata">

**Author:** ![The\_Distiller](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Distiller](https://forums.unrealengine.com/u/The_Distiller)\
**Post date:** [February 20, 2020, 4:10pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1718 "2020-02-20T16:10:42Z")

</div>

> [@](#):
>
> [UE4 4.25 DevRendering GPULM DXR Preview](https://vimeo.com/389887439)
> 
> nice rendering method

I hope one can hide those progress bars, super distracting to have 100 of 'em on top of everything.

---

<div class="post-metadata">

**Author:** ![fco3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fco3d](https://forums.unrealengine.com/u/fco3d)\
**Post date:** [February 20, 2020, 5:06pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1719 "2020-02-20T17:06:49Z")

</div>

> [@ALOULOU87](#):
>
> I have a problems with version 4.24.2  
> I can’t bake my scene with gpulightmass when I use a collab viewer template.  
> Thanks

It works fine for me, that template it is preset to work with dynamic light only.  
You need to make your geometry static mesh, then change the lights to be static too and un check the box for “Force no precomputed lighting”

---

<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:** [February 20, 2020, 8:59pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1720 "2020-02-20T20:59:08Z")

</div>

i Have big Probleme that i want to use my shared gpu memory becouse unreal give me out of memory message  
i have 1070  
up to date  
install cuda Toolkit 10.2  
!!!

---

<div class="post-metadata">

**Author:** ![fco3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fco3d](https://forums.unrealengine.com/u/fco3d)\
**Post date:** [February 20, 2020, 9:11pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1721 "2020-02-20T21:11:39Z")

</div>

> [@ASMS2015](#):
>
> i Have big Probleme that i want to use my shared gpu memory becouse unreal give me out of memory message  
> i have 1070  
> up to date  
> install cuda Toolkit 10.2  
> !!!

No, you can’t, there is not a solution for multi GPU so far.  
All that you can do is use swarm to distribute your scene in multiple PC but if your scene is larger than \*Gb( GTX 1070) then you need to optimize your scene or buy a video card with larger memory. RTX 2080TI, Titan or top Quadros.

---

<div class="post-metadata">

**Author:** ![UnCinema](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uncinema/32/537141_2.png) [@UnCinema](https://forums.unrealengine.com/u/UnCinema)\
**Post date:** [February 21, 2020, 6:31am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1722 "2020-02-21T06:31:59Z")

</div>

> [@](#):
>
> [UE4 4.25 DevRendering GPULM DXR Preview](https://vimeo.com/389887439)
> 
> nice rendering method

How did you get this to run? I’ve compiled 4.25, but only seeing CPU Lightmass when I build lighting.

---

<div class="post-metadata">

**Author:** ![Chesire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chesire](https://forums.unrealengine.com/u/Chesire)\
**Post date:** [February 21, 2020, 7:52am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1723 "2020-02-21T07:52:49Z")

</div>

> [@bioccular](#):
>
> How did you get this to run? I’ve compiled 4.25, but only seeing CPU Lightmass when I build lighting.

Same issue for me;  
Compiled latest ‘devrendering’ branch (bootscreen says 4.26 for me btw), activated GPULightmass plugin but all I’m getting is CPULightmass when building lighting.

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [February 22, 2020, 5:46am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1724 "2020-02-22T05:46:34Z")

</div>

this new dxr gpu 4.25 light baking is depend on lightmaps again or not ???

---

<div class="post-metadata">

**Author:** ![Farshid](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/farshid/32/874107_2.png) [@Farshid](https://forums.unrealengine.com/u/Farshid)\
**Post date:** [February 22, 2020, 8:56am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1725 "2020-02-22T08:56:25Z")

</div>

> [@bioccular](#):
>
> How did you get this to run? I’ve compiled 4.25, but only seeing CPU Lightmass when I build lighting.

YOU MUST ACTIVE this plugin

---

<div class="post-metadata">

**Author:** ![svv3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@svv3d](https://forums.unrealengine.com/u/svv3d)\
**Post date:** [February 22, 2020, 8:38pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1726 "2020-02-22T20:38:32Z")

</div>

If you want to test the GPULightmass prototype:

- Download \*\*dev-rendering \*\*branch from and build it.

- Enable ray tracing (including switching default RHI to DX12 and check ‘ray tracing’. And having a DXR capable graphics card with Win10 version \>= 1809).

- Enable **virtual texture** and **virtual texutured lightmaps** in project settings (optional, yet without this realtime preview in editor will be unavailable).

- Enable **GPULightmass plugin** and restart the editor currently no UI has been setup, so just a bunch of console commands **r.GPULightmass.xxxx** controls parameters and finally, **ToggleLightmapPreview** to start **GPULightmass** in editor.

- GPULightmass throttles itself when the level editor viewport is realtime. To make it run at full speed, uncheck ‘realtime’ in the viewport options.

P.S.:I tested this on my GTX 1070. Everything is working fine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cdc62b891](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cdc62b891](https://forums.unrealengine.com/u/anonymous_user_cdc62b891)\
**Post date:** [February 23, 2020, 11:48pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1728 "2020-02-23T23:48:04Z")

</div>

yo! I have a problem using the gpu light. every time I am trying to start it it keeps closeing down and all I can see on swarm agents in red are:  
Failed to load ‘aqProf.dll’ (GetLastError=126)  
Failed to load ‘VtuneApi.dll’ (GetLastError=126)  
Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)  
Assertion failed: primitiveCount \> 0, file , line 6  
[Job] Job has failed! Job executable didn’t exit cleanly. Exit code: 3

followed by:

[MaintainConnections] Connection 052B787D is DISCONNECTING  
then closeing.

is there a fix for it?

---

<div class="post-metadata">

**Author:** ![danielr201448](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@danielr201448](https://forums.unrealengine.com/u/danielr201448)\
**Post date:** [February 24, 2020, 7:16am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1729 "2020-02-24T07:16:53Z")

</div>

hi i love the gpu lightmass is there a version that supports 4.24.2 ???

---

<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:** [February 24, 2020, 12:25pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1730 "2020-02-24T12:25:27Z")

</div>

> [@danielr201448](#):
>
> hi i love the gpu lightmass is there a version that supports 4.24.2 ???

Here you go [https://forums.unrealengine.com/development-discussion/rendering/1460002--s-gpulightmass?p=1718562#post1718562](https://forums.unrealengine.com/development-discussion/rendering/1460002--s-gpulightmass?p=1718562#post1718562)

---

<div class="post-metadata">

**Author:** ![wickerman123](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wickerman123/32/1198875_2.png) [@wickerman123](https://forums.unrealengine.com/u/wickerman123)\
**Post date:** [February 25, 2020, 5:50pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1731 "2020-02-25T17:50:53Z")

</div>

> [@](#):
>
> this new dxr gpu 4.25 light baking is depend on lightmaps again or not ???

How else is it going to “bake” detailed lighting info? They would have mentioned if it used a new systems like Unigine’s voxelisation method.

---

<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:** [February 25, 2020, 6:20pm UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1732 "2020-02-25T18:20:55Z")

</div>

4.24.3 hotfix is out… Looking forward GPU Lightmass source for it 😉

---

<div class="post-metadata">

**Author:** ![danielr201448](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@danielr201448](https://forums.unrealengine.com/u/danielr201448)\
**Post date:** [February 26, 2020, 8:18am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1733 "2020-02-26T08:18:55Z")

</div>

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

hey this will be a ultra high settings ? or insane settings ? is there a posibilty to get the installer like the other versions ?

---

<div class="post-metadata">

**Author:** ![UnCinema](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/uncinema/32/537141_2.png) [@UnCinema](https://forums.unrealengine.com/u/UnCinema)\
**Post date:** [February 27, 2020, 8:40am UTC](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/1735 "2020-02-27T08:40:07Z")

</div>

> [@svv3d](#):
>
> If you want to test the GPULightmass prototype:
> 
> - Download \*\*dev-rendering \*\*branch from and build it.
> 
> - Enable ray tracing (including switching default RHI to DX12 and check ‘ray tracing’. And having a DXR capable graphics card with Win10 version \>= 1809).
> 
> - Enable **virtual texture** and **virtual texutured lightmaps** in project settings (optional, yet without this realtime preview in editor will be unavailable).
> 
> - Enable **GPULightmass plugin** and restart the editor currently no UI has been setup, so just a bunch of console commands **r.GPULightmass.xxxx** controls parameters and finally, **ToggleLightmapPreview** to start **GPULightmass** in editor.
> 
> - GPULightmass throttles itself when the level editor viewport is realtime. To make it run at full speed, uncheck ‘realtime’ in the viewport options.
> 
> P.S.:I tested this on my GTX 1070. Everything is working fine.

Awesome! This worked. Thanks for the info.

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

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