I noticed using FXAA filter in my icon generator causes the generated PNG to have no transparency.
Diving into shader code I noticed here in the fragment shader
gl_FragColor alpha to 1.0, is this done intentionally?
or it should change to this:
vec4 texVal = texture2D(m_Texture, texCoord); gl_FragColor = vec4(FxaaPixelShader(posPos, m_Texture, g_ResolutionInverse), texVal.a);
Note, not a problem for me as I am using regular AA sampling, I just wanted to know if this needs to be fixed in the shader.