In HairStrandsDeepShadowMask.usf, to remove jitter from strands shading, do:
float3 GetShadowMaskRandom(uint2 PixelPosition)
{
float3 Random = 0.5f;
if (Voxel_RandomType == 0)
{
Random = GetHairVoxelJitter(PixelPosition.xy, View.StateFrameIndexMod8);
}
else if (Voxel_RandomType == 1)
{
Random = ComputeRandom4_0(PixelPosition, View.StateFrameIndexMod8).xyz;
}
else if (Voxel_RandomType == 2)
{
//Random = ComputeRandom4_1(PixelPosition, View.StateFrameIndexMod8).xyz;
Random = ComputeRandom4_1(PixelPosition, 0).xyz;
}
return Random;
}