AreaScaling: Force the alpha to 1 when storing the pixel.

This commit is contained in:
ZenoArrows 2024-09-11 20:38:21 +02:00
parent 69ea40f1d6
commit 92a4212070
3 changed files with 2 additions and 2 deletions

View File

@ -115,5 +115,5 @@ void main()
}
vec4 outColor = AreaSampling(loc);
imageStore(imgOutput, ivec2(translateDest(loc)), outColor);
imageStore(imgOutput, ivec2(translateDest(loc)), vec4(outColor.rgb, 1));
}

View File

@ -118,5 +118,5 @@ void main()
}
vec4 outColor = AreaSampling(loc);
imageStore(imgOutput, ivec2(translateDest(loc)), outColor);
imageStore(imgOutput, ivec2(translateDest(loc)), vec4(outColor.rgb, 1));
}