Author Topic: 2 UI Roots, 2 Panels and blur  (Read 1449 times)

Tatanan

  • Jr. Member
  • **
  • Thank You
  • -Given: 11
  • -Receive: 0
  • Posts: 81
    • View Profile
    • Casual Arena
2 UI Roots, 2 Panels and blur
« on: December 29, 2014, 12:40:20 PM »
Hello.
I want to add blur to certain elements (and not to others) and my idea is to have 2 panels (so 2 UI Roots) on 2 different layers with 2 Cameras (so 2 UI Cameras) watching one layer and then being able to apply Blur effect.
May I have 2 UI Roots? Is it this the correct way?
Thank you.
« Last Edit: December 31, 2014, 07:51:21 AM by Tatanan »
Game developer on Casual Arena.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 2 UI Roots, 2 Panels and blur
« Reply #1 on: December 30, 2014, 02:03:06 PM »
As long as they are on different layers, sure. Although if the UI type is the same, consider doing this instead:

UIRoot
- UI #1
-- UICamera
-- UIPanel
- UI #2
-- UICamera
-- UIPanel