Can I use a Scene Capture 2D as my main Camera?

Hi,

I have a couple of unusual requirements that Scene Capture 2D covers easily but the Cameras don’t:

  • Easy to set different rendering resolutions
  • Can choose to render only a whitelist of actors

Is there some way I can use a Scene Capture 2D AS a camera? Without then putting the captured texture on a plane in front of a regular camera or whatever and presumably rendering the scene twice.

Thanks for any guidance

If you really want to use it this way, then you can use the Rendertarget in a widget, which then just would fill your entire screen. Widgets get always rendered, they don´t need another camera to be displayed on screen :slight_smile:

Take a look at this (old but still valid) tutorial for a crash course, even the material with the rendertarget as middleman as shown there is still required - had tested it myself, an image in a widget still can´t display the render target directly, but a material, that just uses the render target works, just like in the video.

Then you just need to scale your widget in a way, that it fills the entire canvas/screen - that should be the easiest part. In the widget, for the image to fill the screen, the bottom right anchor (that big white square) works perfect, just set all it´s offsets to zero.

grafik

1 Like

Thanks, that’s really helpful, it works well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.