Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Enable Multisample AntiAliasing

edited October 2017 in Q&A and Discussions

Hi everyone,

I'm developing a mixed reality app with HoloLens. I'm not using UNITY. My application is based on HoloLens UWP app available on GitHub.

I would like enable the Multisample antiliasing feature but I don't know how to enable it.

I set at TRUE the MultiSampleEnable in my rasterizer - no success.
The HololensUWP sample apps do not access the swap chain directly. So it seems difficult to set correctly the SampleDesc.Count (like in this example : https://gamedev.stackexchange.com/questions/129437/cannot-enable-4x-msaa-anti-aliasing-in-directx-11)

Any idea ?
Thanks !


  • Options

    While I personally haven't tried to do this yet. This may be possible. Take a look at this link It appears to be the approach you have to take.

    It isn't so obvious due to the swap chain handled by the OS instead. This idea is to create a multisampled render target and render to the back buffers provided by the holographic camera parameters and replace it with the multisampled buffers.

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer

Sign In or Register to comment.