Sprite Color Lighter than Original

I’m using the following line to display a background image:
_spriteBatch.Draw(_background, new Rectangle(0, 0, 1000, 600), Color.White);

However, the image it is displaying is slightly lighter than the original image. I’ve never noticed this before, but it is possible that the images in all my other games did this and I didn’t notice. I’ve attached a screenshot. The left image is generated by the spritebatch and the one on the right is the original.

My question is, why is the image lighter and is there to get it to display with the same brightness as the original image? Screen Shot 2021-09-08 at 8.41.56 PM

1 Like

Could there be some external color postprocessing, like some display settings. Maybe use a color picker on the original image to get the exact RGB values for one pixel, e.g. top left, and then look up the same pixel in the texture in C#, to see if they are the same.

1 Like

Most likely color profiling for given file. If I would have to bet, I would say that MG colors are true while inbuilt profile gets properly loaded in whatever 2D editor you are using and affects colors. Also what is the bitdepth of original? And also make sure you are not using any texture compression in your pipeline.

Thanks to everyone who replied. I suspect the images are being compressed when put in the pipeline and that is affecting the color.

i noticed this right after porting. my orange transparent are washed out as if white brush blended in…Its same as before on DX, clipping and clear alpha works fine. later ill check w premultiplication , blending, it doenst work the same way in GL its lighter but i have more serious issues to attned. BTW blending has never been quite right in most anyh software… And anyone who seriously needs to blend should consider even Adobe has been doing it wrong forf 20+ years. This genius fixed that and his code is in Photoshop now as the default and its not subtle stuff, its obviously, demonstrably wrong and noone else every bothered to get it right… hes also on expert on water physics
https://twitter.com/bjornornorn/status/1453069681082896394

also i saw this topic come up as a MG 3.81 bug mabye ill mention it there… its not as subtle as this issue.