# GPU Lightmass 4.26.2 and Android ES3.1

**URL:** <https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 16, 2021, 8:05pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782 "2021-04-16T20:05:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [April 16, 2021, 8:05pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/1 "2021-04-16T20:05:24Z")

</div>

Was doing some tests for android ES3.1 for the Quest 2 and wanted to see if GPU Lightmass (4.26.2) would work for it. It runs and bakes light in the project, but after baking it just sill says objects still need to be baked. Then when I went to package and test in the headset, it is in fact just black. Like none of the light information came over. Does this not work at all?

Now I am not an expert but I do have a feeling that the GPU lightmass bake doesn’t correlate or transfer over to the Android es3.1 shader required by Oculus quest units? I understand GPU lightmass uses Directx12 to bake lighting but does that mean it’s exclusive to target platforms that only support Dx12? (I wouldn’t think that to be true but maybe it is? I don’t know)

Any insight on this would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![arunoda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arunoda/32/464764_2.png) [@arunoda](https://forums.unrealengine.com/u/arunoda)\
**Post date:** [April 17, 2021, 4:23am UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/2 "2021-04-17T04:23:43Z")

</div>

I tried doing that too. I tried different approaches and couldn’t get GPU lightmass to work for ES3.1  
Wanted to know if someone found a way to do that or it’s a planned feature.

---

<div class="post-metadata">

**Author:** ![DesertDuck007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertDuck007](https://forums.unrealengine.com/u/DesertDuck007)\
**Post date:** [April 21, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/3 "2021-04-21T17:41:22Z")

</div>

Im looking at the same problem - did you guys manage to come up with a solution for this?

---

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [April 21, 2021, 6:10pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/4 "2021-04-21T18:10:41Z")

</div>

Sadly no, it’s not worth the head ache currently, as most people I assume are exploring this for VR lighting purposes. Currently trying to figure out foliage with Unreal and VR for Quest 2 (the aliasing is a nightmare - best solution thus far is using sprites lol)

That’s besides the point though, unfortunately all we can confirm is the GPU lightmass bake doesn’t carry over to the ES 3.1 shader =\

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [April 21, 2021, 6:27pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/5 "2021-04-21T18:27:32Z")

</div>

Just a blind guess: Are you guys using virtual texture lightmaps? If so, try disabling it.

---

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [April 21, 2021, 8:22pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/6 "2021-04-21T20:22:23Z")

</div>

I believe I tried that already as well. Didn’t seem to make a difference at all. 😕

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 22, 2021, 4:29am UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/7 "2021-04-22T04:29:56Z")

</div>

CPU lightmass works fine but GPU doesnt?  
Isnt the difference just in the way the lightmap is rendered?

Try Luoshang’s gpu lightmass

> [@Luoshuang's GPULightmass](https://forums.unrealengine.com/t/luoshuangs-gpulightmass/109474/2113):
>
> Install script updated for 4.24.3, 4.25.4, and 4.26.2 [Releases · sgeraldes/LightmassConfiguration (.com)](https://.com/sgeraldes/LightmassConfiguration/releases) You can use the script to change quality settings on the fly, no need to restart UE4 or mess with ini files. If you use it, and want to support the work to keep it up to date, please drop by my patreon:

---

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [April 22, 2021, 8:34pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/8 "2021-04-22T20:34:35Z")

</div>

but… isn’t Luoshuang the guy who is implementing the current iteration of the GPU lightmass in Unreal 4.26.2?

I checked the original thread of Luoshuang’s GPU lightmass and there hadn’t been any updates. You think maybe his older scripted/mod version will maybe work? I could try it I suppose.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d165960](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d165960](https://forums.unrealengine.com/u/anonymous_user_6d165960)\
**Post date:** [April 22, 2021, 10:07pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/9 "2021-04-22T22:07:46Z")

</div>

This link that I shared is the updated version, works with 4.26.2  
It is what Im using, much better results than the built in GPU LM and faster.

BTW it just occurred to me. You may be baking a scene with only a sky light, sky light is ignored for the GPU Lightmass (built in) if im not mistaken. It is not for the script version.

---

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [April 23, 2021, 2:23am UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/10 "2021-04-23T02:23:02Z")

</div>

This is interesting, I wonder why the script version is …so much better? lol No I am not baking with just the skylight, (I appreciate you checking though ty) I have school and current industry knowledge, so I do have a good basis of lighting in Unreal.

Just the first time I’ve really buckled up and looked at GPU Lightmass. Thank you very much for providing that up to date github link. I’ll try it out and see what results it yields! 🙂

---

<div class="post-metadata">

**Author:** ![DesertDuck007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesertDuck007](https://forums.unrealengine.com/u/DesertDuck007)\
**Post date:** [April 23, 2021, 6:02am UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/11 "2021-04-23T06:02:33Z")

</div>

This was the issue! Thank you Arkiras. Now the next problem is the denoiser is not affecting the lightmap for some reason?

Im looking into maybe increasing samples and lightmap res maybe that will be a hotfix for now.

Anyways - if anyone is having this issue disable virtual texture lightmaps

Thanks for the help

---

<div class="post-metadata">

**Author:** ![mpuLs3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mpuLs3](https://forums.unrealengine.com/u/mpuLs3)\
**Post date:** [May 13, 2021, 6:47am UTC](https://forums.unrealengine.com/t/gpu-lightmass-4-26-2-and-android-es3-1/224782/12 "2021-05-13T06:47:14Z")

</div>

So just to confirm, the scripted version of GPU lightmass does indeed work for all purposes including VR, where the built in one that is being slowly incorporated does not for VR. It has issues translating the bake information to the lightmap it appears. But yeah the scripted version is pretty awesome still.
