[SOLVED] Screenshots always take full UI regardless of camera position

hello all,

Im playing with the screenshots tutorial and realise that no mather were I put the camera (I do get correct rendering in my screenshot for 3D) I always have the full UI in my picture.

Is there a way to take a screenshot of part of the UI? (ex: users private infos form composed from playcanvas UI elements)

thanks for the support

There are a couple of approaches I can think of:

  • Disable the UI elements before taking the screenshot and enable it on the next frame
  • Have a second camera for the screenshot that renders the layers you want in the screenshot
1 Like

Thank you! I went with option number 2.

1 Like