DirectX3D.Sprite : Texture Effect

Started by
1 comment, last by tlc660 17 years, 8 months ago
me done my first C# game with Direct3D.Sprite class. and me are trying to apply some effect to my game sprite like brightness and tint. but me have found no where to achieve. is there any solution for that(brightness and tint)? thank you very much.
Advertisement
IIRC the last parameter in the sprite draw function is a colour that can be used to modulate the texture. Tint could be tried and, I have not tried this, but maybe a gray scale colour would provide brightness.
------------------------See my games programming site at: www.toymaker.info
me have play around with the last parameter in the sprite draw
but is seem only adjust the color volume
Color.FromArgb(255,255,128,128);
return 100% of original color volume for alpha and red channel, and 50% of original volume for the green and blue channel.

anyway thankyou for reply me

This topic is closed to new replies.

Advertisement