# Using Panner with Cubemap

**URL:** <https://forums.unrealengine.com/t/using-panner-with-cubemap/452549>\
**Category:** Rendering\
**Tags:** cubemap, panner, skybox, unreal-engine, question\
**Created:** [July 20, 2019, 1:59pm UTC](https://forums.unrealengine.com/t/using-panner-with-cubemap/452549 "2019-07-20T13:59:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomShirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TomShirk](https://forums.unrealengine.com/u/TomShirk)\
**Post date:** [July 20, 2019, 1:59pm UTC](https://forums.unrealengine.com/t/using-panner-with-cubemap/452549/1 "2019-07-20T13:59:20Z")

</div>

I have some skyboxes I’ve imported from an outside procedural generator in DDS format. The skies look GREAT but for one (a cloud texture) I want it to pan, or at least rotate around the up vector.

The engine skybox does this very well, but it doesn’t use a cubemap for it. When I plug in the same panner function into a cubemap texture, however, there’s an error (converting float2-\>float3) unless I use a makefloat3 to plug it into a reflection vector first. If I do that, the clouds don’t move. Not sure how this is possible since I’ve got the panner constantly fiddling with the input vector.

So this doesn’t work. Does anyone know how I _can_ pan a cubemap around the up vector?
