HLSL template support in UE4

The DirectX 12 compiler DXC has received a PR about a month ago that adds template support to HLSL. So you can now do this: Which is great since that’s all going to happen at compile time and so the compiler will be able to unroll the loop correctly. This, coupled with UE4’s shader permutation […]

Read More

Improve linking times by an order of magnitude in UE4

The following requires a source-built Unreal Engine 4, launcher builds won’t work. Ever wanted to improve linking times by x10? What you need is incremental linking! Incremental linking as the name suggests only links files that have changed since the last time linking was done, which in my particular case means that 2766 source files […]

Read More

Script to build everything in Unreal Engine 4

There comes a time in every self-respecting game developer’s life when they have to rebuild the entire engine along with the game they’re making. This usually happens when installing the latest version of Visual Studio that came with compiler improvements to MSVC. What you typically want to do is ensure that everything gets recompiled properly […]

Read More

Sign in to Linux from Windows via Yubikey

Introduction If you’re as excited as me about signing into your Linux server from your Windows machine and completely ditching passwords and private keys stored on your computer in the process then this is the one and true guide for you!I’ve been wanting to do this ever since I’ve bought my first two Yubikey NEO […]

Read More

Sorting parallel arrays in UE4

Sorting parallel arrays a.k.a. Structure of Arrays (SOA) is not that easy in UE4 since the default sort implementation can only work on one array at a time. As far as I know, there’s no easy way to get it to work with SOAs since element swapping happens via hardcoded calls to TArray::Swap(), so what […]

Read More

Gauntlet Automated Testing and Performance Metrics in UE4

Introduction This tutorial describes how to launch automated tests and profile via Gauntlet by triggering in-game events, executing game commands and generating detailed performance charts / benchmarking your game. You will need a source build of the engine, preferably 4.23 or above. It will also work on 4.22 with a few minor tweaks, but not […]

Read More
    • Posts navigation

    • 1
    • 2

Twitter

Giant army #rendering component in #UE4. 3x faster than stock UE4.26 Niagara, HISM. Supports multiple meshes, 1 dra… twitter.com/i/web/status/1…
SIGGRAPH 2020 talks: dl.acm.org/doi/proceeding… Posting it here because their website is absolute trash and makes them… twitter.com/i/web/status/1…
#tutorial on how to get HLSL template support in #UE4 horugame.com/hlsl-template-… With this and the existing shader per… twitter.com/i/web/status/1…