Author Topic: Odd Sorting Problem  (Read 2122 times)

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Odd Sorting Problem
« on: September 21, 2012, 06:28:39 AM »
I have two UI's in my scene.  They're separate from one another, but I have their depths set so one should draw over the other, (acting as a popup dialog for user messages and help).  The problem is that it draws behind everything, all the time. 

It doesn't seem to matter how close I move the UI to the camera by hand, or what value I set its components depth to, the UI I want on top is *always* drawn behind the other one.  What would cause such a thing?

Here's a screenshot of the scene, but I had to crop it close because I can't show the work.  :/ 



I hope it's enough for someone to tell me what's going on at least.

dlewis

  • Guest
Re: Odd Sorting Problem
« Reply #1 on: September 21, 2012, 06:50:35 AM »
Make sure you set the depth of the UI cameras.

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Odd Sorting Problem
« Reply #2 on: September 21, 2012, 08:42:53 AM »
Doesn't make any difference, unfortunately!

Any other suggestions?  Thanks for the reply.

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Odd Sorting Problem
« Reply #3 on: September 21, 2012, 09:12:57 AM »
I figured it out.  I had all my gui cameras using the same layer.

Thanks for the help.