# C++ advice on dynamically creating cube textures?

**URL:** <https://forums.unrealengine.com/t/c-advice-on-dynamically-creating-cube-textures/104329>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [December 27, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/c-advice-on-dynamically-creating-cube-textures/104329 "2017-12-27T20:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [December 27, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/c-advice-on-dynamically-creating-cube-textures/104329/1 "2017-12-27T20:31:19Z")

</div>

Is there a way to dynamically create cube textures like this example shows?

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

I have a need to do this for my project, but I’m unable to figure out how to do it at runtime. I’m inexperienced in C++, but I understand the BPs well. Can anyone provide assistance?

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 10, 2018, 11:36pm UTC](https://forums.unrealengine.com/t/c-advice-on-dynamically-creating-cube-textures/104329/2 "2018-01-10T23:36:22Z")

</div>

can any dev weigh in here? For procedural captures, you can create 2d render targets but not cube components. Is a cube component possible? I’ve seen suggestions for creating a wider FOV 2d texture, but I don’t think that would work for me, applying the texture to a sphere.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f7d4a9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f7d4a9e8](https://forums.unrealengine.com/u/anonymous_user_f7d4a9e8)\
**Post date:** [January 11, 2018, 4:17pm UTC](https://forums.unrealengine.com/t/c-advice-on-dynamically-creating-cube-textures/104329/3 "2018-01-11T16:17:07Z")

</div>

I have the same problem, have you solved the problem?
