Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UMG: Render 3D scene to widget

So I need to make a background for the main menu of my game and I am fairly new to UMG. I need to create an 'Arkham City' style background which is 3D and moves around a scene. It also needs to change when I select an option in the menu. I haven't started this yet and I need some advice on how to approach this. Any would be appreciated. Is there some way to render a scene to a UMG widget? Or maybe have UMG overlay on top of a scene? Thanks in advance!

Product Version: Not Selected
more ▼

asked Apr 23 '15 at 09:01 PM in Using UE4

avatar image

23 16 20 25

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

UMG widgets are rendered on top of the 3D world. You can build your menu scene as a normal Level and then add the UMG menu widget to the viewport on top of it.

more ▼

answered Apr 24 '15 at 06:16 AM

avatar image

157 12 8 13

avatar image AemonBarz Apr 24 '15 at 06:43 AM

Ok thank you. But how exactly am I meant to overlay the UMG menu on top of the scene? What nodes do I need to use?

avatar image max99x Apr 24 '15 at 06:59 AM

In Blueprint, you can use the Create Widget and Add to Viewport nodes, like this.

In C++ you can call the global CreateWidget() method then MyWidget->AddToViewport();.

avatar image illYay Apr 24 '15 at 07:10 AM

I think he means how to embed a 3D scene into a UMG widget. I am also trying to do the same thing for 3D maps similar to Metroid Prime.

Apparently there's an experimental UViewport UMG widget that they're working on that should let you create a UWorld that is separate from the current world. That widget can act as a view into this second UWorld.

This is similar to how editor thumbnails would work.

avatar image max99x Apr 24 '15 at 07:12 AM

That's what the title asks, but the problem of making a 3D backdrop for a menu that is described in the actual question is still solved by the much simpler approach of rendering the menu on top of a scene.

avatar image AemonBarz Apr 24 '15 at 08:02 AM

Yeah max, that is what I am looking for. However, can you please give me an example on the blueprint/macro structure to accomplish this? I'm finding it a bit difficult with nothing to go on.

avatar image max99x Apr 24 '15 at 08:04 AM

The blueprint screenshot I posted above should be all you need. It goes into the level blueprint of your menu background scene.

avatar image AemonBarz Apr 24 '15 at 09:17 AM

Oh thanks, didn't see that before lol!

avatar image lmm_loli May 05 '15 at 12:48 PM

where is the blueprint screenshot tou posted?

avatar image AemonBarz May 05 '15 at 09:26 PM

Is where he wrote "like this". It was kinda hard for me to see aswell.

avatar image lmm_loli May 06 '15 at 08:26 AM

thank you . I find this link http://globalgamejam.org/2015/games/cowtastrophe it's helpful.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

you can use the scenecapture2d component to render into a material and then use that material on your umg

more ▼

answered Sep 30 '15 at 01:46 AM

avatar image

434 26 17 43

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question