Important: Please read the Qt Code of Conduct -

[Qt3D] Anti-aliasing

  • Scene3D QML has multisample property. If it is used all 3d scene gets anti-aliased, but it slows down my app including GUI on not so powerful android tablets

    In fact I don't need anti-aliasing for whole scene so I wonder how one can apply anti-aliasing for just a few layers where I need it?

    Something like this (but it doesn't work):

    m_layerFilterExtra = new QLayerFilter();
    renderStateSet = new QRenderStateSet();
    renderStateSet->addRenderState(new QNoDepthMask());
    renderStateSet->addRenderState(new QMultiSampleAntiAliasing());

    And another question how FXAA can be used instead of multisampling. FXAA is mentioned in qt3dstudio

    Thanks in advanced for help!

    With regards, Oleg.

Log in to reply