AreaScaling: Force the alpha to 1 when storing the pixel.
This commit is contained in:
parent
69ea40f1d6
commit
92a4212070
3 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue