# Flipped environment map

**URL:** <https://forums.chaos.com/t/flipped-environment-map/145561>\
**Category:** Help Required\
**Created:** [October 18, 2019, 10:16am UTC](https://forums.chaos.com/t/flipped-environment-map/145561 "2019-10-18T10:16:59Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![TatjanaO](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TatjanaO](https://forums.chaos.com/u/TatjanaO)\
**Post date:** [October 18, 2019, 10:16am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/1 "2019-10-18T10:16:59Z")

</div>

Ok, it is not a big deal to flip hdri or bitmap in photoshop, but anyway - would be good to know if it is always so:

I have an exterior scene. I make 360 spherical panorama from 360 corona camera to use it as environment map in 360 interior view for the same project. In the exterior scene coordinates are correct and match interior’s. Then when I load ready panorama to environment slot (Corona bitmap in CoronaColorCorrect) - it always comes horizontally flipped! Any ideas why?

---

<div class="post-metadata">

**Author:** ![romullus](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/romullus/32/271095_2.png) [@romullus](https://forums.chaos.com/u/romullus)\
**Post date:** [October 18, 2019, 10:22am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/2 "2019-10-18T10:22:38Z")

</div>

It is 3ds Max that’s flipping spherical maps in U coordinates in its bitmap loader and Corona decided to conform to this behaviour, so there would be less confusion. This isn’t bug, just something you have to keep in mind and unflip spherical maps by hand.

---

<div class="post-metadata">

**Author:** ![TatjanaO](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TatjanaO](https://forums.chaos.com/u/TatjanaO)\
**Post date:** [October 18, 2019, 10:28am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/3 "2019-10-18T10:28:40Z")

</div>

Thanks 😃 I do keep it in mind 😃 just was curious why it is so.

Wouldn’t be good to add Flip option to bitmap loader? Personally I would appreciate this tiny upgrade

---

<div class="post-metadata">

**Author:** ![james\_lawley](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@james\_lawley](https://forums.chaos.com/u/james_lawley)\
**Post date:** [October 18, 2019, 11:28am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/4 "2019-10-18T11:28:45Z")

</div>

I’m just in the habit of setting the U tiling to -1 on my environment maps - no need for an extra button.

---

<div class="post-metadata">

**Author:** ![PROH](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@PROH](https://forums.chaos.com/u/PROH)\
**Post date:** [October 18, 2019, 11:29am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/5 "2019-10-18T11:29:34Z")

</div>

And BTW: Theres no need to flip it in PhotoShop. You can just set the U tilling value to -1

Hope it helps

Edit: beated by jms.lwly 😃

---

<div class="post-metadata">

**Author:** ![steyin\_1](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@steyin\_1](https://forums.chaos.com/u/steyin_1)\
**Post date:** [October 18, 2019, 3:27pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/6 "2019-10-18T15:27:22Z")

</div>

Wait…so all maps you use as spherical environment are loaded backwards? Wouldn’t that mean sun position is always wrong for HDRI? If true, never knew this at all.

---

<div class="post-metadata">

**Author:** ![romullus](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/romullus/32/271095_2.png) [@romullus](https://forums.chaos.com/u/romullus)\
**Post date:** [October 18, 2019, 5:20pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/7 "2019-10-18T17:20:23Z")

</div>

Not necessary, it’s only wrong if you’re using backplates from the same location. Otherwise it doesn’t matter - sun’s elevation remains the same, no matter if U coordinate is flipped or not and azimuth… well, 99 times out of 100, it is set arbitrary anyways :] I almost never flip HDRIs, unless i’m also using them as backdrops and they contain some text, signs or other things, which would look wrong when flipped.

---

<div class="post-metadata">

**Author:** ![PROH](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@PROH](https://forums.chaos.com/u/PROH)\
**Post date:** [October 18, 2019, 5:34pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/8 "2019-10-18T17:34:03Z")

</div>

@steyin: My answer would be YES, you’re right. But like romullus says, it doesn’t allways matter. Personally I always flip them, so I know whats going on 😃

---

<div class="post-metadata">

**Author:** ![pokoy\_1](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@pokoy\_1](https://forums.chaos.com/u/pokoy_1)\
**Post date:** [October 18, 2019, 5:40pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/9 "2019-10-18T17:40:00Z")

</div>

I think the technical background is that an environment is projected from a distance towards the center while the camera takes an image from the center towards distance - that’s why it’s flipped.  
I think some apps automatically flip panoramic images, Max does not.

---

<div class="post-metadata">

**Author:** ![PROH](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@PROH](https://forums.chaos.com/u/PROH)\
**Post date:** [October 18, 2019, 5:43pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/10 "2019-10-18T17:43:48Z")

</div>

Another way to explain it is, that a sphere by default (in Max) is mapped and viewed from the outside, whereas the environment is mapped as a sphere but viewed from the inside.

---

<div class="post-metadata">

**Author:** ![TatjanaO](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TatjanaO](https://forums.chaos.com/u/TatjanaO)\
**Post date:** [October 18, 2019, 9:16pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/11 "2019-10-18T21:16:53Z")

</div>

> [@PROH](#):
>
> Another way to explain it is, that a sphere by default (in Max) is mapped and viewed from the outside, whereas the environment is mapped as a sphere but viewed from the inside.

Good point, yet in my case I am rendering “sphere” from the inside and then apply it on the environment also from the “inside” Mean camera see environment as physical sphere and flips it to outside in output?

---

<div class="post-metadata">

**Author:** ![PROH](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@PROH](https://forums.chaos.com/u/PROH)\
**Post date:** [October 18, 2019, 10:14pm UTC](https://forums.chaos.com/t/flipped-environment-map/145561/12 "2019-10-18T22:14:11Z")

</div>

You are rendering it as it is viewed from the inside, and then Max is “mapping” it from the outside. Therefore you need to flip it by setting the U tilling to -1.

Hope it helps

---

<div class="post-metadata">

**Author:** ![TatjanaO](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TatjanaO](https://forums.chaos.com/u/TatjanaO)\
**Post date:** [October 19, 2019, 7:53am UTC](https://forums.chaos.com/t/flipped-environment-map/145561/13 "2019-10-19T07:53:09Z")

</div>

It will definitely help, thank you 😃 Going to ask Autodesk why do they map environment from outside 😃 it should be from inside by default!
