Using a simple SceneCapture2d to get a view of the world and presenting it through a material to mesh is easy. What I would like to know is if I can manipuluate the capture so that it sees a different rasta overlay to act as a minimap instead of the scene where the player is moving about the level.
1.In Content drawer, create a Render Texture, name it RT_MiniMap, and set the Size X,Y of Texture Render Target 2D.
2. Add a scene Capture 2D to the Outliner, name it SceneCapture2DMiniMap, select its CaptureComponent2D, set the Scene Capture/ Texture Target to RT_MiniMap, and set Capture Source to Final color in RGB.
3. In Content drawer, create a User Widget,name it WBP_MiniMap, add a Canvas Panel and an Image, and set the Brush of Image to RT_MiniMap.
4. In Blueprint, create the WBP_MiniMap and add it to viewport.
5. Add an Cesium Globe Anchor to SceneCapture2DMiniMap, set its location or move it around. Its view is independent of the player’s view.
This will certainly allow there to be a rendered capture separte to the players view. However if I wanted to have the Cesium World Terrain lets say “Sentinal-2” viewed by the player but the new SceneCapture2d to see “Bing Maps Aerial with Labels” resulting in visualising 2 different Cesium ion Raster Overlays. Is that possible?
Just to clarify what you’re asking: it sounds like you want to have two camera views on the same instance of Cesium World Terrain. But you want to see different imagery in each camera view. Is that correct?
This sounds pretty similar to another community forum thread. Unfortunately, that thread is about Unity, not Unreal. And from what I can find, the solution in that thread seems to have no equivalent in Unreal.
The idea was to put both raster overlays on the tileset, but use a custom material that could toggle between the two. And Unity has the ability to configure material parameters for each camera view, which enables this behavior.
I’m trying to find if Unreal can replicate this in any way, but not 100% sure. I found some forum threads that may be helpful: