# Is SceneCapture with depth as CaptureSource supported on mobile?

**URL:** <https://forums.unrealengine.com/t/is-scenecapture-with-depth-as-capturesource-supported-on-mobile/468989>\
**Category:** Mobile\
**Tags:** Mobile, Scene-Capture, depth, unreal-engine, question\
**Created:** [July 31, 2020, 5:18pm UTC](https://forums.unrealengine.com/t/is-scenecapture-with-depth-as-capturesource-supported-on-mobile/468989 "2020-07-31T17:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1eddb38e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1eddb38e](https://forums.unrealengine.com/u/anonymous_user_1eddb38e)\
**Post date:** [July 31, 2020, 5:18pm UTC](https://forums.unrealengine.com/t/is-scenecapture-with-depth-as-capturesource-supported-on-mobile/468989/1 "2020-07-31T17:18:42Z")

</div>

I tried to do a **SceneCapture2D** of the **SceneDepth** to a **RenderTarget**.

 ![308784-screenshot-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/1/33107b97d57a0392eed19d2eaac3cf418297c35e.png)

It looks fine in the editor and in the **PIE mobile preview ES3.1**. The material here sample the depth value and output a lerp from red (depth 0) to green (depth 800).

 ![308785-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/d/d2d798370a10be46c5e35e13d5d6d339574a5bf4.png)

but when i launch on android (Samsung S8) the texture is uniformly green meaning the depth isn’t calculated and is probably just set to its maximal value.

 ![308786-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/a/35afb12358c63020ef21e878dde60dba61d257ab.jpeg)

Is this a know issue on mobile ? Can we render the scene depth from another point of view than the main camera ?

Side notes:

- Mobile HDR is on
- The render target is 1024x1024 R16f.  
I tried R32f with same result.
- The capture of scene color instead of depth  
works perfectly fine on mobile

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1eddb38e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1eddb38e](https://forums.unrealengine.com/u/anonymous_user_1eddb38e)\
**Post date:** [June 22, 2021, 2:17pm UTC](https://forums.unrealengine.com/t/is-scenecapture-with-depth-as-capturesource-supported-on-mobile/468989/2 "2021-06-22T14:17:27Z")

</div>

Using CaptureSource = SceneColor (HDR) in RGB SceneDepth in A, the depth texture is valid on mobile.
