This project has moved and is read-only. For the latest updates, please go here.

Quick question about colors

Jan 18, 2014 at 3:49 PM
Hi there,

Im just playing around with the DirectXTK and just wonder if theres a better way to do this, if im even doing it right.

I have a ball drawn on screen, with no tint ( 1.0f, 1.0f, 1.0f), if I want to tint that ball red using the Color value do i need to reduce G and B so that R has a higher value and is displayed Red?

Is this the right way to do this or not?

Jan 20, 2014 at 5:09 PM
That's exactly the right way to do it.
Marked as answer by walbourn on 1/20/2014 at 11:33 PM