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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Can I define the shape of a mask with a material in a Scroll View game object?

Discussion in 'UGUI & TextMesh Pro' started by Deleted User, Jan 29, 2023.

  1. Deleted User

    Deleted User



    I was just curious if it's possible to define a mask in the "Viewport" game object with a material, instead of a texture/sprite. I tested it with a shader material I created (a star with a transparent background). And it doesn't seem to work. So I'm assuming UGUI doesn't support it, but just asking in case my assumption is wrong.

    (for clarity the Viewport game object I'm referring to is a child of the Scroll View game object you can create from the UI menu.)