Welcome,
Guest
. Please
login
or
register
.
September 11, 2024, 05:40:29 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Are there any hidden dangers in using non-orthographic cameras to render UI?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Are there any hidden dangers in using non-orthographic cameras to render UI? (Read 1361 times)
bac9
Full Member
Thank You
-Given: 2
-Receive: 4
Posts: 113
Are there any hidden dangers in using non-orthographic cameras to render UI?
«
on:
March 26, 2014, 05:23:31 AM »
I'm making a stylized pseudo-3d UI using fisheye non-orthographic camera. Here is a simple gif:
My approach to it is pretty simple - I keep a traditional orthographic camera on while editing, and it's replaced by another camera with all those distortions as the game starts, so I'm spared from dealing with alignment issues and weird distortions while designing the UI content. Still, are there any potential problems that can arise from that setup I should be aware of? Like, for instance, would raycasting continue to work correctly in all cases there?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Are there any hidden dangers in using non-orthographic cameras to render UI?
«
Reply #1 on:
March 26, 2014, 07:30:11 PM »
If the cameras use the same size and are in the same position, there should be no issues. If they don't, then you might want to put them on different layers as NGUI will attempt to locate the appropriate camera and may not find the one you intended.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Are there any hidden dangers in using non-orthographic cameras to render UI?