Compositing an externally rendered layer into a UE4 open world: a native publisher and a depth-tested ReShade compositor
Hogwarts Legacy is a UE 4.27 open world with no anti-cheat, and it accepts a layer that is not part of the game: a native publisher rasterises that layer into shared memory, a ReShade add-on uploads it as textures, and a compositor shader mixes it into the host's frame **only where the layer is nearer than the host's own depth buffer**, so host geometry…
8 armadilhas registradas
- A copied compositor keeps the original's units, and nothing tells you.
- A haze constant in metres silently erases the whole layer.
- LoopAsync plus reading UObjects crashes, inside UE4SS.
- UE4SS's HookProcessConsoleExec crashes the game on its own.
- The stock UE4SS mods are not safe alongside your own.
- ReShade must be the dxgi.dll proxy, not d3d12.dll.
- An HLSL debug marker can kill the whole shader file, silently.
- ReShade 6.8's log::message takes no varargs.