(At moment I set "shadow_mask x & y counts" to same as original games resolution to reduce the moiré effect. HLSL may change in future to remove moiré issues and then how I use "shadow_mask x & y counts" could change as well. Just keep that in mind for further HLSL revisions).