Community Tutorial: Local Height Fog in Unreal 5

For those that don’t want to wait, I’m guessing this is the issue -

Out.LocalHeightFogCenterPos = (FVector*)GraphBuilder.Alloc(sizeof(FVector3f) * Out.LocalHeightFogInstanceCount, 16);

FVector uses doubles and FVector3f uses floats. I’ve not tried this myself yet but am going to give it a go.

2 Likes