Qt3d: Artifacts of displaying when applied Qt3DRender::QLayerFilter

前端 未结 2 2014
鱼传尺愫
鱼传尺愫 2021-01-20 20:55

I am trying to use layer filtering as shown in this answer. For this I wrote a simple test (see below). This is a continuation of the question.

At a certain position

2条回答
  •  借酒劲吻你
    2021-01-20 21:05

    Fixed. In the original example, an error found. I don't fully understand why it's the right thing to do:

    auto clearBuffers = new Qt3DRender::QClearBuffers(cameraSelector);
    

    insted

    auto clearBuffers = new Qt3DRender::QClearBuffers(renderSurfaceSelector);
    

提交回复
热议问题