Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Toolkit - Pixel Snapping, PreferMultiSampling #354

Closed
MosquitoD4K opened this issue Apr 18, 2014 · 2 comments
Closed

Toolkit - Pixel Snapping, PreferMultiSampling #354

MosquitoD4K opened this issue Apr 18, 2014 · 2 comments

Comments

@MosquitoD4K
Copy link

When using the Toolkit in combination with a SpriteBatch, the Sprites are automatically snapped to the pixels. Is there a way to do it differently and enable subpixel rendering? I already tried setting different parameters and even using a PrimitiveBatch.

If you set the PreferMultiSampling-Property of the GraphicsDeviceManager, nothing happens. (If you follow the Property to the Methodcall graphicsDeviceFactory.FindBestDevices(preferredParameters) and the DeviceFactory GamePlatform, you will see, that the Presentationparemeters are created with MSAALevel.None, even when you set different prefferedParameters.)

@xoofx xoofx added the bug label Apr 26, 2014
@xoofx
Copy link
Member

xoofx commented Apr 26, 2014

Never tested multi-sampling in the Toolkit, so It might be not fully implemented.

@MosquitoD4K
Copy link
Author

This might be a good starting point, for anyone, who has the same problem. I don't know if one can do it this way with the toolkit.
http://code.msdn.microsoft.com/windowsapps/Multisampling-in-Windows-4bc6337b/sourcecode?fileId=99641&pathId=1686894424

@xoofx xoofx added the wontfix label Oct 31, 2014
@xoofx xoofx closed this as completed Oct 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants