Changing brightness and Contrast (Directx 9.0c+C#)
Posted 28 January 2005 - 05:30 AM
I am using Directx (using c#). I am loading a texture in a triangle, and now i want that i should be able to change its brightness and contrast. Help Help Help!
Posted 04 February 2005 - 06:35 PM
To change the brightness of a pixel you'll need to multiply that color by an constant that is less that 1 but greater than zero. That's from experience. Constrast... not sure exactly what it means. How is it different from brightness?
Posted 04 February 2005 - 09:17 PM
Or the other option is use a pixel shader. tex2d the pixel and multiply it by some constant.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users