the spritebatch.draw takes a texture, a rectangle, and a color.
the color is the tint.
Why is the tint necessary? and Why does passing white as the parameter indicate no tint? Why not black, or pass no parameter for tint at all?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The tint color is multiplied on the texture color. White is basically 1 in all channels that keeps original colors unchanged.
This blog has a comprehensive explanation.
http://blogs.msdn.com/b/shawnhar/archive/2009/11/10/premultiplied-alpha-in-xna-game-studio.aspx