# Mobile VR - Multiview: Render to texture is black.

**URL:** <https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048>\
**Category:** XR Development\
**Tags:** scenecapture2d, Mobile, unreal-engine, question\
**Created:** [April 21, 2020, 2:07pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048 "2020-04-21T14:07:17Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcoTravan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcoTravan](https://forums.unrealengine.com/u/MarcoTravan)\
**Post date:** [April 21, 2020, 2:07pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/1 "2020-04-21T14:07:17Z")

</div>

Hi to everybody, this is the first time I ask for help here on the community.

I have a big problem in Mobile VR.

* * *

Hardware requirements for the project… GearVR (on Samsung S10e).

Necessary software setup:

- Forward render
- MultiView
- Oculus for Quest/GearVR

* * *

Target:  
I am trying to have back mirrors in a drivable car: when I activate Multiview (to reach needed performances), the “mirror” goes black.

The mirror is created via a Scenecapture 2D + rendertexture + unlit material.

* * *

Issue retreaving:  
There is this old issue ([Unreal Engine Issues and Bug Tracker (UE-75839)](https://issues.unrealengine.com/issue/UE-75839)) signed as “solved” in 4.23, but digging in, I discovered that it was signed “cannot reproduce”, and not solved.

* * *

Is there anyone with a good idea on how to address this problem?  
(planar reflections is not an option… performances are terrible even in a “normal” environment on mobile).  
Has anyone encountered and solved this issue?

Thank you to anybody for the help!

Marco

P.S. Answers related to changing hardware requirements are unfortunately futile, since it is a requirement of the project. 😑

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 21, 2020, 5:19pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/2 "2020-04-21T17:19:09Z")

</div>

For Exynos devices, verify that Support OpenGL ES2 is checked in the Build section in Platforms \> Android, and that Support OpenGL ES3 is not selected.  
Found in [https://developer.oculus.com/documentation/unreal/unreal-multi-view/](https://developer.oculus.com/documentation/unreal/unreal-multi-view/) .  
i guess s10 is exynos did you done this already?

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 21, 2020, 5:26pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/3 "2020-04-21T17:26:55Z")

</div>

Also there is a option Legacy shading try switching it maybe works other shading mode.

---

<div class="post-metadata">

**Author:** ![MarcoTravan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcoTravan](https://forums.unrealengine.com/u/MarcoTravan)\
**Post date:** [April 22, 2020, 8:16am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/4 "2020-04-22T08:16:25Z")

</div>

I tried both. In different combinations.  
No luck.  
When MultiView (and MultiView Direct) is on… the rendertarget is black. Otherwise it works flawlessly…

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 23, 2020, 2:42am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/5 "2020-04-23T02:42:42Z")

</div>

I recommend moving your project to ue4.25 1.because VR rendering is property of NDK([Google VR NDK Rendering API &nbsp;|&nbsp; Google Developers](https://developers.google.com/vr/reference/gvr-ndk-rendering)) and since ue4.25 uses a different NDK maybe your problem doesnt exist on that version . 2. 4.25 is under heavy development if your problem exists there you can just report the bug and they will fix it under a week(plz do it before release ).

---

<div class="post-metadata">

**Author:** ![MarcoTravan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcoTravan](https://forums.unrealengine.com/u/MarcoTravan)\
**Post date:** [April 23, 2020, 9:36am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/6 "2020-04-23T09:36:12Z")

</div>

I will look for it, but I’m not confident in using a preview version for this particular task.  
Too many things that could go south.  
But thank you anyway for the suggestion.

---

<div class="post-metadata">

**Author:** ![Priel71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Priel71](https://forums.unrealengine.com/u/Priel71)\
**Post date:** [June 14, 2020, 2:11am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/7 "2020-06-14T02:11:10Z")

</div>

Hi Marco, did you ever find a solution to this problem? I’ve been spending half a day researching the same issue and just stumbled on your thread here, nice to know it’s just not me 😉

---

<div class="post-metadata">

**Author:** ![MarcoTravan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcoTravan](https://forums.unrealengine.com/u/MarcoTravan)\
**Post date:** [June 15, 2020, 7:27am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/8 "2020-06-15T07:27:57Z")

</div>

No official solution since the gear vr is abandoned… (unfortunately we have to complete the work on that device).

We manage to find a “not ideal” solution.

You need to use ES2 instead of ES3.1 (modifying everything accordingly) and disabling MultiView (!!).  
(Avoid 4.25 since ES2 is no longer supported… or so they say… )

---

<div class="post-metadata">

**Author:** ![Priel71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Priel71](https://forums.unrealengine.com/u/Priel71)\
**Post date:** [June 15, 2020, 1:36pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/9 "2020-06-15T13:36:21Z")

</div>

I spent Sunday doing tests and way too many hours doing shader compiles (UGH!). In any case, these are my findings on 4.25.1:

**Vulkan + Multiview** = Black texture

**Vulkan + MobileHDR + No MultiView** = Works (?!) But pretty ■■■■ performance, and perhaps a edge case, but I understand they are working on getting limited HDR working on mobile and vulkan… so yeah, fingers crossed.

**ES3.1 + MultiView** = Black Texture

**ES3.1 + No MultiView** = Works (Not too bad performance, considering mobile etc…)

I’m building v8 (64bit) and I think the rest is pretty much the usual plain vanilla Oculus Quest settings.

Surprised it doesn’t work on the S10e, it has a 855 cpu and Mali gpu, way better than a Quest…

---

<div class="post-metadata">

**Author:** ![MarcoTravan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcoTravan](https://forums.unrealengine.com/u/MarcoTravan)\
**Post date:** [June 15, 2020, 1:50pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/10 "2020-06-15T13:50:12Z")

</div>

As you noticed: since you can’t use multiview (that’s what makes the captures black) it’s better to switch from ES3.x to ES2… I noticed that the same level (with some cures) is fast enough in ES2 to be used for VR without multiview.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e907e5b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e907e5b1](https://forums.unrealengine.com/u/anonymous_user_e907e5b1)\
**Post date:** [January 14, 2021, 10:52am UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/11 "2021-01-14T10:52:42Z")

</div>

Thanks! Very helpful summary! If anyone finds a work-around (e.g. exclude certain textures from the effect of multi-view) please write here, I’m struggling with the same issue on Oculus Quest 2 development (trying to make mirror effects without using expensive reflections).

---

<div class="post-metadata">

**Author:** ![ericwa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ericwa](https://forums.unrealengine.com/u/ericwa)\
**Post date:** [March 16, 2021, 11:34pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/12 "2021-03-16T23:34:29Z")

</div>

Seeing the same behaviour in 4.26.1. Using a Canvas Render Target and a SceneCapture2D; all settings left at defaults. Works on a Quest with GLES3.1, Mobile MultiView off. Turning on Mobile MultiView causes the render target to be solid black.

There was a fix committed which was included in 4.26.0 but it doesn’t seem to work for me.

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-75839)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![capatto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@capatto](https://forums.unrealengine.com/u/capatto)\
**Post date:** [March 24, 2021, 2:46pm UTC](https://forums.unrealengine.com/t/mobile-vr-multiview-render-to-texture-is-black/464048/13 "2021-03-24T14:46:57Z")

</div>

hello guys, I’m creating an application for the quest, and all the materials are black, you can only see the emissive materials, but the rest of everything is black, I’m not making mirrors or using capture, but all materials, except the emissive, can someone tell me something to do? thanks
