Luoshuang's GPULightmass

Is the script(not the GPULLightmass itself) available for 4.23.1?

Can you explain how?

Hello everybody. I leave here my last work in UE4.23

watch?v=hqqS56huOpQ

GPU Lightmass for UE 4.24.0

Binaries for older version of UE4 can still be found here.

What about source code ?

Thank you for the reminder! Pushed the latest version to the usual place.

All clear but the link has changed. Updated in the post from earlier:

It still bugged as 23 one. I can’t build light in certain scenes. I don’t know how to represent it, I can’t send you a map cause it might have lots of dependencies, but can you call me in skype to investigate it if you interested?Write me in pm if u wish. Anyway it says

11:11:17: Assertion failed: primitiveCount > 0, file , line 61
11:11:17: [Job] Job has failed! Job executable didn’t exit cleanly. Exit code: -1073

Thanks as always for your effort Pax. It works very nice for me in 4.24.0. I can’t upgrade my projects to a new UE version without it. Very much appreciated!

Working like a charm on 4.24 , GPU Lightmass from is probbaly the first thing i try to get working when migrating.

Are using also a script to switch between GPU and CPU ?
can you publish addresses to dowload?

any one ???

So, basically same .cpp files as for 4.23.x + latest commit with 4.24 adjustments ?

Hi @MSCreationANMore ,

Firstofall, I wouldn’t buy a PC based on an experimental/beta tool like GPU lightmass, even if it’s is incredible, because they are working on an official DXR lightmass now. Anyway, probably it will take benefits from the same hardware components.

As fas as I know, for GPUL the most important thing is the GPU, so try to buy the more expensive you can (but the cheaper of its model: for example, the cheaper RTX 2070. Between the cheaper and the expensiver could be a lot of money difference, but a little performance difference). With a budget of 1200 you should be able to buy an i7 with a RTX 2070, I think. Or at least an i5. For the rest of components, you can buy the cheaper compatibles, but it’s always recommended to find a little more expensive components. The rule (usually) is easy: the more expensive it is, the better it is.

Hope it helps,
Regards!

To add to already great reply here, I heavily suggest AMD AM4 unless you are an Intel guy specifically, as you get a much better deal imho ,on AMD at least prices I’m seeing on NewEgg.
Similar prices between amd/intel ,but the HUGE difference on a 1 to 1 comparison, is AMD 6 cores and threads so tons better in lighting builds or anywhere else that applies. Material compilation maybe don’t recall positively.

As always IF you can afford 128gb ram GET IT :)) If you can swing it,you’ll never regret it, tho it can be hard to find 16 or 32 gb only sticks given you positively want to maximize your motherboard so 64gb means 16gb sticks IF again you can afford it and conversely 128 ,depending how many ram slots you have may mean 32gb sticks but depending how much ram speed you want might me you can’t maximize. YMMV but those are important things to consider. The rest is obvious, wifi ,Pcie4, usb 3.1 gen 2 , M2 blah, make a GOOD choice as funds allow to avoid regret later :wink:

OF NOTE, unreal dev I’ve seen post on answer website say, claim,that past 32 you have ‘diminishing returns’, don’t recall precise reasons, but even if true and I assume it is, YOU DO want as much ram as you can afford, bc we all know how important multitasking is for a multitude of reasons.

Oh, yes! Sorry for missing AMD option. In fact I’m going to buy a PC too and it will mount an AMD cpu. What I was thinking when only talking about Intel? AMD currently offers much more performance for the same price, so go for it.

And I agree about the RAM too as @neighborlee . At very least, 16gb. But to work with GPUL remember that the GPU is the most important part of your PC. You could think about a Ryzen 3700x, RTX 2070, 32gb RAM.

Solid, ya you can’t go wrong with that setup just make sure ,again depending on your budget to get what you need motherboard wise, that’s huge, and if you need a new case, verify that too has specs you need to compliment your motherboard.

If you’re handy, do as I’ve done and put together via components. Haven’t read entire thread , but its fun and you save money and often get better parts because you choose exactly what parts want and you can if desirable choose your own case ;)) Lots of options, in the end enjoy picking your new PC :slight_smile:

Hi all

Can i ask little help with finetuning GPULM.

UE 4.23.1
Lightmass set to 2048
LM settings on Ultra 128/32/1000
World settings:
0.5
100
10
10
2.0
Diffuse boost 1.2

I receive some gradients in lightmap. Is this unresolved issue by GPULM(denoise) or i can adjust some settings to remove these?
Apartment walls are in one mesh.

Anyone know how to get the lightmass configuration/installer batch script working with 4.24 , or how can I replicate manually turning up/down the quality?

I’ve got it installed fine but no idea how to adjust quality and in what increments. (I used to just use the batch script to change quality)

This looks like lightmap compression. Try to turn off “Compress Lightmaps” in World Settings and you should get clean result, but remember you usually don’t want to turn off compression for runtime projects like VR, games or whatever when you are “Playing” it. It’s memory heavy and can couse some problems with optimization and texture streaming if it’s bigger scene. For taking screenshots or video it’s OK.

Go to the folder where is your UE4 installed and open “Engine/Config/BaseLightmass.ini”. At the bottom you will find “DevOptions.GPULightmass” section and set desired NumPrimary and NumSecondary GI Samples. 32/16 is Medium Quality, 64/16 Ultra High, 128/32 Extreme.


[USER=“24021”]pax invictus[/USER] Thanks for updating to 4.24… You are the king :slight_smile: