# \[SM5\] (Node TextureSampleParameterCube) ParamCube\> Requires TextureCube

**URL:** <https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389>\
**Category:** Asset Creation\
**Tags:** error, skybox, unreal-engine, question\
**Created:** [July 8, 2016, 4:46pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389 "2016-07-08T16:46:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_886519d51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_886519d51](https://forums.unrealengine.com/u/anonymous_user_886519d51)\
**Post date:** [July 8, 2016, 4:46pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/1 "2016-07-08T16:46:59Z")

</div>

I’m building a skybox from scratch using this video:

  
It works if I use the default loaded cubemap from UR4.  
However, as soon as I put my own, I get the following error:  
[SM5] (Node TextureSampleParameterCube) ParamCube\> Requires TextureCube

I googled for an answer, and so far I have not find how to solve this.  
I tried several cubemaps, and any of them work.

![

---

<div class="post-metadata">

**Author:** ![NikoKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikokun/32/1152824_2.png) [@NikoKun](https://forums.unrealengine.com/u/NikoKun)\
**Post date:** [August 3, 2016, 3:56am UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/2 "2016-08-03T03:56:18Z")

</div>

I too am encountering this same issue, after following tutorials for this. ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_886519d51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_886519d51](https://forums.unrealengine.com/u/anonymous_user_886519d51)\
**Post date:** [August 3, 2016, 4:28am UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/3 "2016-08-03T04:28:27Z")

</div>

I have not found the solution yet

---

<div class="post-metadata">

**Author:** ![NikoKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nikokun/32/1152824_2.png) [@NikoKun](https://forums.unrealengine.com/u/NikoKun)\
**Post date:** [August 3, 2016, 12:52pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/4 "2016-08-03T12:52:06Z")

</div>

Well, last night I found a solution that worked for me… But I had to stop using that Nvidia cubemap generator, since I couldn’t get that working, and I couldn’t get Spacescape to export to the right format, so that the sides of the cube actually lined up.

I finally had to get AMD’s CubeMapGen program, and Manually import all 6 files onto the right sides of the cube/sphere in that. Actually didn’t have to do much rotating at all, then just saved as a DDS with that.

For some reason, UE4 seems to have better luck using the CubeMaps from the AMD tool, at least for me. It imported into UE4 perfectly, and it worked fine with the material script you posted above (tho I didn’t need the divide node).

Also, I had to tweak some of the color settings of the Cubemap in UE4 to make it look right, color wise, but that didn’t take too much playing around.

---

<div class="post-metadata">

**Author:** ![Ravenok](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ravenok/32/1159007_2.png) [@Ravenok](https://forums.unrealengine.com/u/Ravenok)\
**Post date:** [December 15, 2016, 3:04am UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/5 "2016-12-15T03:04:51Z")

</div>

I think I have a solution for you.

Check the file format for your image. If it’s not a .dds or a .hdr, unreal might not read it as a texturecube. At least those are the 2 that I noticed work.

Just resave the file in hdr and it should work (worked for me).

---

<div class="post-metadata">

**Author:** ![Cucumbear](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cucumbear](https://forums.unrealengine.com/u/Cucumbear)\
**Post date:** [July 24, 2017, 3:52am UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/6 "2017-07-24T03:52:07Z")

</div>

Thank you! It’s worked!

---

<div class="post-metadata">

**Author:** ![afcmontero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@afcmontero](https://forums.unrealengine.com/u/afcmontero)\
**Post date:** [July 20, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/7 "2021-07-20T21:07:20Z")

</div>

I used this image converter and worked fine for me, just change the image format to .hdr

> **[Convertio — Convertidor de archivos](https://convertio.co/es/)**
>
> Convertio - Herramienta sencilla para convertir archivos en línea. Más de 309 documentos diferentes, imágenes, hojas de cálculo, libros electrónicos, copias de seguridad, presentaciones y se puede usar con formatos de audio y vídeo

---

<div class="post-metadata">

**Author:** ![m3dia\_offline](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@m3dia\_offline](https://forums.unrealengine.com/u/m3dia_offline)\
**Post date:** [July 4, 2022, 2:04pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/8 "2022-07-04T14:04:51Z")

</div>

amazing! thank you, it worked!

---

<div class="post-metadata">

**Author:** ![CesarMacedo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CesarMacedo](https://forums.unrealengine.com/u/CesarMacedo)\
**Post date:** [October 20, 2023, 4:54pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/9 "2023-10-20T16:54:52Z")

</div>

I found a solution here. In Material Editor, Texture Smaple, connect a new UVs = BoundingBoxBased. Works.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/6/c16a48e96d68b2fdbf93b0eac3d986a470cf8ac7.jpeg)

---

<div class="post-metadata">

**Author:** ![velky\_pipik69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@velky\_pipik69](https://forums.unrealengine.com/u/velky_pipik69)\
**Post date:** [December 1, 2023, 2:23pm UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/10 "2023-12-01T14:23:01Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![HEROSAMA1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herosama1/32/744669_2.png) [@HEROSAMA1](https://forums.unrealengine.com/u/HEROSAMA1)\
**Post date:** [December 6, 2023, 6:05am UTC](https://forums.unrealengine.com/t/sm5-node-texturesampleparametercube-paramcube-requires-texturecube/363389/11 "2023-12-06T06:05:44Z")

</div>

it works tysm!
