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. Dismiss Notice

Using a 3d object with scroll view

Discussion in 'UGUI & TextMesh Pro' started by voncarp, Oct 18, 2017.

  1. voncarp

    voncarp

    Joined:
    Jan 3, 2012
    Posts:
    187
  2. Vixxd

    Vixxd

    Joined:
    Jul 25, 2016
    Posts:
    11
    Hey, did you ever get this working? I'm having the same problem
     
  3. voncarp

    voncarp

    Joined:
    Jan 3, 2012
    Posts:
    187
    Still no idea. Hopefully, someone can point us in the right direction.

    This forum post says Unity supports it. But I don't see how.

    https://forum.unity.com/threads/ui-and-masking-3d-meshes-in-a-scrollrect.358475/

    It certainly is not something as simple as using a world camera for the UI and adding a 3d Model to the scroll view content for masking the 3d model to work. Because it doesn't.
     
  4. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    user raw image..make separate camera..
     
  5. akshaypro02

    akshaypro02

    Joined:
    Jan 14, 2020
    Posts:
    7
  6. RacingRapist

    RacingRapist

    Joined:
    Jul 14, 2013
    Posts:
    7
    Don't bother watching that video, the masking does not work.
     
  7. CunningFox146

    CunningFox146

    Joined:
    Mar 2, 2020
    Posts:
    18
    To get masking to work with 3d object you have to make a custom shader. The quick workaround would be to just put images where you'd want the mask for 3d objects to be