fixed surfel GI coverage when temporal AA or FSR2 enabled

This commit is contained in:
Turánszki János
2023-01-07 10:51:33 +01:00
parent f9ae533389
commit 40fa457b3c
+1 -1
View File
@@ -70,7 +70,7 @@ void main(uint3 DTid : SV_DispatchThreadID, uint groupIndex : SV_GroupIndex, uin
GroupMemoryBarrierWithGroupSync();
#ifdef SURFEL_COVERAGE_HALFRES
uint2 pixel = DTid.xy * 2 + GetTemporalAASampleRotation();
uint2 pixel = DTid.xy * 2;
#else
uint2 pixel = DTid.xy;
#endif // SURFEL_COVERAGE_HALFRES