# how to stop skysphere material resizing

**URL:** <https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083>\
**Category:** Rendering\
**Tags:** skysphere, unreal-engine, question\
**Created:** [September 3, 2018, 2:37pm UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083 "2018-09-03T14:37:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delta1](https://forums.unrealengine.com/u/Delta1)\
**Post date:** [September 3, 2018, 2:37pm UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/1 "2018-09-03T14:37:10Z")

</div>

How can I stop my background hdri material in my skysphere from resizing depending on how close the camera is to it?

So I want the background image to look exactly the same regardless of how close the player is to it, how do I do this?

I’ve tried resizing the skysphere up to 4.0 it does nothing at all!

---

<div class="post-metadata">

**Author:** ![zoomcns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoomcns](https://forums.unrealengine.com/u/zoomcns)\
**Post date:** [September 5, 2018, 8:45am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/2 "2018-09-05T08:45:51Z")

</div>

Try this material on your sphere:

 ![252795-skysphere.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/7/fc7270e053dfd921f5369d77041897d9e5f0a97e.png)

Constant3Vector \> ReflectionVectorWS \> TextureSampleParameterCube (your cubemap goes here) \> Emissive Color

This way you only have to make sure that your skysphere is large enough so that the camera doesn’t go outside of it when playing, but the texture will look the same regardless of distance.

---

<div class="post-metadata">

**Author:** ![Delta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delta1](https://forums.unrealengine.com/u/Delta1)\
**Post date:** [September 24, 2018, 8:58pm UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/3 "2018-09-24T20:58:22Z")

</div>

Zoomcns would you know how to make the skysphere rotate so that a point such as a mountain in the image always faces north in relation to the player?

---

<div class="post-metadata">

**Author:** ![zoomcns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoomcns](https://forums.unrealengine.com/u/zoomcns)\
**Post date:** [September 25, 2018, 7:23am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/4 "2018-09-25T07:23:23Z")

</div>

If you put your skysphere with the above material into a blueprint and put that into your level, you will be able to rotate it.

---

<div class="post-metadata">

**Author:** ![Delta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delta1](https://forums.unrealengine.com/u/Delta1)\
**Post date:** [September 25, 2018, 7:45am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/5 "2018-09-25T07:45:19Z")

</div>

Would you know how to remove parallax from the player camera viewing the skysphere, depending on player position in the map?

---

<div class="post-metadata">

**Author:** ![zoomcns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoomcns](https://forums.unrealengine.com/u/zoomcns)\
**Post date:** [September 25, 2018, 8:23am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/6 "2018-09-25T08:23:35Z")

</div>

Sorry I’m not sure I understand your question (parallaxing between which elements?). If we are talking about a third person camera where the player character is between the camera and the skysphere background, there will inherently be parallaxing, unless the camera is fixed onto the player.

---

<div class="post-metadata">

**Author:** ![Delta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delta1](https://forums.unrealengine.com/u/Delta1)\
**Post date:** [September 25, 2018, 9:04am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/7 "2018-09-25T09:04:50Z")

</div>

Hi Zoomcns,

What I’m trying to say is firstly, I need to lock the skysphere so it corresponds to a point in my map, like this so point A on the red skysphere is fixed to point B of the black map location:

![254628-posa.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/4/3445339790c4933128f3fd812b3520f2e6d35fbb.jpeg)

This is the BP, I’m using although I also need to get the material to look like its way off in the distance right now it looks too close to the player, I’m unsure how to do this:

![254552-material.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/7/3b7443335b850230d7c641c210dd06f889d2c40c.jpeg)

To explain the first point a bit more, I’m trying to lock the mountain to the cylinder so it stays in the same position regardless of where the player is in the map:

 ![254528-midpcloser.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/3/4a3f99020ff2a70e49bf5db51cb4104417355b12.jpeg)

Additionally, it would be awesome if I could remedy the parallax as shown in this picture that is the same as the one before but at a different location in the map and its driving me nuts!

 ![254527-midpfar.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/a/b0a4a33ae48d91bb0d8c5282440b2db06a6ea776.jpeg)

Can you see how the cylinder looks like its moved right slightly when the players moved further back

---

<div class="post-metadata">

**Author:** ![zoomcns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zoomcns](https://forums.unrealengine.com/u/zoomcns)\
**Post date:** [September 25, 2018, 10:41am UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/8 "2018-09-25T10:41:24Z")

</div>

I can’t really think of a proper solution, but a practical one: if you’re using a skysphere then it’s basically in infinite distance, so if you want a normal object to “stick” to it, then it has to be as far away as the far clipping allows (and scaled up appropriately of course). The further it is, the less parallaxing will occur. You probably won’t be able to stop the parallaxing 100%, but if it’s far enough then it won’t be noticeable.

---

<div class="post-metadata">

**Author:** ![Delta1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delta1](https://forums.unrealengine.com/u/Delta1)\
**Post date:** [September 25, 2018, 3:34pm UTC](https://forums.unrealengine.com/t/how-to-stop-skysphere-material-resizing/433083/9 "2018-09-25T15:34:08Z")

</div>

Ah ok thanks for that, is there anyway do you think I can have a portion of the skysphere to be an indicator of the much smaller level that can be used as a player reference for navigation?
