x


Orthographic Camera Problems.

I am using Spritemanager 2 to manage my 2d GUI elements. I had my UI Camera set to perspective mode and everything was working great. I put changed it to Orthographic mode, and it works perfect again in the editor, but when I build the game, this camera doesn't show up at all. It doesn't display anything, even if I set the culling mask to everything, but again works perfect in the editor. Any ideas anyone?

more ▼

asked Oct 25 '10 at 04:59 AM

Aron gravatar image

Aron
12 3 3 4

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

1 answer: sort voted first

Solved, as it turns out, you MUST have at least depth selected on clear flags when stacking an orthographic camera on top of a perspective one. I don't know why, or if this is a bug, but that fixed it for me.

more ▼

answered Oct 25 '10 at 05:32 AM

Aron gravatar image

Aron
12 3 3 4

Stacking any camera on top of any other camera, you need the clear flags to be depth only if you expect the other camera to show through underneath.

Oct 25 '10 at 05:39 AM Eric5h5
(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

By RSS:

Answers

Answers and Comments

Topics:

x2996
x212
x89
x40

asked: Oct 25 '10 at 04:59 AM

Seen: 1811 times

Last Updated: Oct 25 '10 at 04:59 AM