# Is there a way to preview functions that use scene depth?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-preview-functions-that-use-scene-depth/468168>\
**Category:** Rendering\
**Tags:** translucent, unreal-engine, question\
**Created:** [July 14, 2020, 10:09pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-preview-functions-that-use-scene-depth/468168 "2020-07-14T22:09:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrs300](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jrs300](https://forums.unrealengine.com/u/jrs300)\
**Post date:** [July 14, 2020, 10:09pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-preview-functions-that-use-scene-depth/468168/1 "2020-07-14T22:09:30Z")

</div>

Hi Folks,

I’m having trouble working with functions that use scene depth.

I get the error ‘Only transparent or postprocess materials can read from scene depth’

But there is no way to set a function to preview as translucent as far as I can tell.

Is there any solution for this?
