# How do I apply a Cube Render Target 'flat' on a material?

**URL:** <https://forums.unrealengine.com/t/how-do-i-apply-a-cube-render-target-flat-on-a-material/424193>\
**Category:** Asset Creation\
**Tags:** Reflection-Capture, unreal-engine, question\
**Created:** [May 2, 2018, 9:11pm UTC](https://forums.unrealengine.com/t/how-do-i-apply-a-cube-render-target-flat-on-a-material/424193 "2018-05-02T21:11:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1aa296f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1aa296f](https://forums.unrealengine.com/u/anonymous_user_f1aa296f)\
**Post date:** [May 2, 2018, 9:11pm UTC](https://forums.unrealengine.com/t/how-do-i-apply-a-cube-render-target-flat-on-a-material/424193/1 "2018-05-02T21:11:07Z")

</div>

Hey everyone:

I have a simple action that I would assume is very easy, but for some reason I am having problems.

When you place down a Scene Capture Cube, and render it to a Cube Render Target, you get something that looks like this:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/d/18d819fecba5a3989a8d095bcb668427cd02cb0a.jpeg)

The problem is, the only way that I was able to figure out to apply this to a texture is to plug the texture map into a reflection vector so it will map like a reflection map, but I don’t want that. I just want to output this texture on a material, reflection vector free.

I know that this has to be possible somehow becasue the above image displays a literal 2D texture, but I get a weird ‘coercion failed: parameters.texcoords[0].xy: float2 → float3’ error when I plug this texture into the material with standard UV’s

---

<div class="post-metadata">

**Author:** ![herobank110](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@herobank110](https://forums.unrealengine.com/u/herobank110)\
**Post date:** [August 13, 2020, 10:44am UTC](https://forums.unrealengine.com/t/how-do-i-apply-a-cube-render-target-flat-on-a-material/424193/2 "2020-08-13T10:44:03Z")

</div>

Just came across this issue and found the answer:

In your material, use a UVToLatLong node between your TextureCoordinates node and the TextureSample UVs input, like so:

![310059-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/c/19c6a0742dfb72d4f816a64bc5547327d98758b1.png)

Then the resulting material applied to a plane might look like:

 ![310060-annotation-2020-08-13-114257.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/b/03bd8c620df8ee0be4ccd248937dccf029449501.png)
