Small change

This commit is contained in:
CamilleLaVey
2026-09-09 18:41:57 -04:00
parent c44742f79e
commit f6c6f7ddb9
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ float4 PS_Denoise(float4 pos : SV_Position, float2 uv : TEXCOORD) : SV_Target
float3 sum = float3(0.0, 0.0, 0.0);
float3 total = float3(0.0, 0.0, 0.0);
for (int y = -2; y <= 2; ++y)
[unroll] for (int y = -2; y <= 2; ++y)
{
for (int x = -2; x <= 2; ++x)
[unroll] for (int x = -2; x <= 2; ++x)
{
float2 offset = float2(x, y);
float3 tap = tex2D(BackBuffer, uv + offset * texel).rgb;