Unreal Engine - COMPILING SHADERS FASTER 5900x

preview_player
Показать описание
Compiling shaders is necessary to GPU compute all effects of GRAPHICS is very slow if you don't have a great cpu. So without compiling shaders we don't have colors, ilumination, pbr materials and we don't have graphics, all 3D scene without nothing just a grey box.

Compiling shaders take so long because is compiled using CPU only, and with CPU Threads, so if you have a basic i3, i5 from old generations you will struggle take so long time to compile.

In my test i used my Amd Ryzen 5900x, i have 12 cores and 24 threads. In compiling shaders only used 20 because i was recording and with mult-tasking.

Ryzen 5900x compile above 50 shaders per second.

If you want to compile shaders more faster you need to have a Ryzen 9 or superior.

This works for UE4 and a little more faster in UE5.

unreal engine will always compiling shaders if you change the material parameters, paint landscape and a lot of other things.

Рекомендации по теме
Комментарии
Автор

i did test system with 5950x @ 3.7ghz limit, 32gb ram, ssd, project thats a few gbs, took 6 mins compile over 4500 shaders. it was a very simple level on start though.
thread priority was above normal. maybe the textures and other things made it take that time, cuz your project doesnt look simple and was least time

skate
Автор

Compiling the engine from source is what I would like to speed up. I think from a fresh build it took around 40 minutes. Still beats 8 hours from my fx8320

TheFoyer
Автор

you can do material instance - than you dont need compile shader to see changes

hanumaanek
Автор

that would take me like 30 minutes to an hour on my i3 10100

SlySean
Автор

So basicly it sucks i can make a low poly level with low poly car race games and it will still take forever to compile shaders Woww if you dont have a good pc you cannot make a game

vladimirharamincic
Автор

me with my $350 hp desktop loading a project for first time timed it 20 mints latter 2000 shader left

nJupmot
Автор

Do you have any idea why it takes forever on a i9 10900K?

yosh