c# - XNA No 2D anti-aliasing when using Texture2D.FromStream -
i have looked around quite bit , have not found working solution rendering 2d textures anti-aliasing. have image;
when render using xna results on left. when render flash, browser or graphics proggy results on right.
i have searched , suggestion has bee change settings in graphicsdevice cannot seem work. give me working example of anti aliasing (possibly using image provided).
thank help. appreciate it.
when processing hundreds of images different sources not in game, can load them texture2d.fromstream
now. doesn't handle alpha well.
i going dive game's source @ how did when stumbled upon this post gamedev.se gives options solve issue, , illustration on happening:
while option #1 faster, go #2, may complex @ first have tried , works well.
now if ever happen have issue antialiasing, or want enable/disable it, can so: graphics.prefermultisampling = true;
Comments
Post a Comment