Curved view on 360º Video

Hi there!

(See screenshot for reference)
I developed a nice looking app that integrates 360º videos to a sphere and works with the gyroscope to view around.

I’m having this weird/strange curve view (I understand the curved view is because I’m using a sphere to wrap the video) but I have no clue on how to solve this.

I guess that when you put a 360º video on YouTube, YouTube does the same, it wraps it around a sphere and does something to the video texture or camera so you can actually see the video correctly without curves on the building for example. I’have uploaded this same video to YouTube and the curved effect disappears.

Any idea on what I can do for the videos to show up without curves? Maybe a shader that does that?

Here’s the screenshot of the curved buildings.

Are you sure the problem doesn’t lie with the video itself? I never had curved footage after applying it to a sphere.

I’m sure, I have uploaded this same video to Youtube and it displays correctly. But, now that you mention it I might be doing something wrong, not sure what in the process.

Thank you, I’ll keep looking.

maybe uv mapping issue? (did you use default unity sphere?)

If your horizon on the original is straight then you’re not texture mapping level. Should just go on straight if it’s setup correctly but if shader or offsets aren’t correct it will warp.

I used a blender sphere from this tutorial:
https://www.youtube.com/watch?v=yc0b5GcYl3U

The shader being used is original shader from Unity > Until, offsets are set to default.

Esentially you need to know what kind of lens took the video, and the shape you map to has to match the lens setup, so it may not be exactly a sphere…

Thank you WT, it might not be exactly a sphere, I found a solution to this by changing the form of the sphere a bit.