Jump to content

Rendering from two cameras simultaneously


photo

Recommended Posts

Hello, we would like to render our UI on a separate camera and overlay that with our main player camera. How is this possible? The name of Game::setPlayer makes it seem like only one camera is possible but I would expect this is not a difficult problem

Link to comment

Hi Taylor,

 

It depends on how your UI is made. If it is just a couple of textures - you can just use WidgetSprite to place them on top of the player camera. If it's something more than Textures, you can render it via WidgetSpriteViewport on top of the player camera (you can check the attached sample to have some basic idea).

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...