I am very new to the MonoGame library. I am loading a texture from a .xnb file
_background = content.Load<Texture2D>(_backgroundKey);
and then I want to change its transparency (alpha) at runtime.
Oh, I found how to do it myself.
spriteBatch.Draw(texture, position, sourceRect, Color.White * 0.5f, .......);
This line of code will draw a texture with half transparency.
transparency textures monogame
igorGIS
source share