Before updating to Windows 10 you may need to return your Pro license. More information here

Orthographic Camera Size?

I'm a little uncertain as to how the size of an orthographic camera affects screen resolution.

Basically I'm creating a HUD/UI elements for a game using a base screen resolution of 1920x1080. I've had some issues when bringing over images and icons from photoshop, that were creating according to my desired screen resolution.

Can someone tell me what size I should be setting my camera for in the Orthographic Camera settings?

Thanks a ton. millye

Posts: 6 Joined: Thu Mar 31, 2011 12:36 pm

more ▼

asked Apr 14, 2011 at 12:37 AM

avatar image

user-11551 (google)
37 2 4 6

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

If you're using a separate camera for your HUD/UI, you could set the orthographic camera size to 1080 / 2 = 540. This would allow you to set the scale of your HUD objects to be the pixel dimensions of your images.

Basically, the orthographic size value represents the amount of in-game units (meters) half of your vertical screen size takes.

more ▼

answered Oct 10, 2011 at 09:51 AM

avatar image

294 1 22 8

Thanks I had always assumed this but never true knew :D

Apr 29, 2012 at 10:16 PM HHameline
(comments are locked)
10|3000 characters needed characters left

I'm really puzzled by this. I've seen a few suggestions that orthographic camera size is screen height/2. In my scene, it was set to 5 by default, and the resolution became correct when I changed it to 3. How do I actually compute the right value?

more ▼

answered Apr 02, 2014 at 09:39 AM

avatar image

11 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Apr 14, 2011 at 12:37 AM

Seen: 19822 times

Last Updated: May 09, 2014 at 04:09 AM