pr0g / unity-portal-rendering

Super small example of using offscreen render targets to achieve a portal effect in Unity
MIT License
251 stars 40 forks source link

RenderTexture Distorted in iPhone landscape mode. #3

Closed godzil21 closed 5 years ago

godzil21 commented 7 years ago

When trying this awesome demo in my iPhone in landscape mode the render texture inside the portal appears distorted before entering inside the Portal…

Can this be fixed? Thanks a lot.

pr0g commented 7 years ago

Hey there, this appears to be related to the previous issue. I'm in the process of trying to repro, likely seems something to do with the aspect ratio, I'm likely doing something stupid, should hopefully have an update tomorrow.

Cheers!

pr0g commented 5 years ago

Hey there,

A rather late update sorry 😬 I have been able to get the demo running on my iPad but was not able to reproduce the issue (using Unity 2018.3.2f1). The portals do appear to render correctly in portrait and landscape.

I've added camera controls for movement on device (mobile/tablet) to make things a bit easier to test, let me know if things still aren't working if you try it again,

Closing for now,

Cheers