Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Layer 2d Image over 3d Model

Discussion in 'General Graphics' started by Asacs, Mar 21, 2023.

  1. Asacs

    Asacs

    Joined:
    Dec 20, 2013
    Posts:
    8
    Hello,

    I am not sure if this is in the right topic. But I currently making a Visual Novel with 3d Models. I need to layer a 2d Image (The Dialogue Box) over the 3d Model. How can I make that?

    I didnt find anything in google.



    That Gray Dialogue Box should be over the model.

    Thank you all!
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,381
  3. Asacs

    Asacs

    Joined:
    Dec 20, 2013
    Posts:
    8
    Well the Problem is I also created Canvas, but I dont understand how to make them appear first layer over the model. As you see in the screenshot from my unity.
     
  4. Asacs

    Asacs

    Joined:
    Dec 20, 2013
    Posts:
    8
    Nevermind, i did find it out. You have to make 2 Cameras while the one Camera just capture the Dialogue and Stack over the Base Camera.

    Closed
     
  5. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,381
    Setting up a second camera should not be necessary if you set the render mode of your canvas to "screen space overlay". That tells the UI system that you want the Canvas and all of its children drawn on the screen on top of everything else that's rendered.