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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Warp/bend the UI

Discussion in 'Shaders' started by Demozo, Dec 1, 2014.

  1. Demozo

    Demozo

    Joined:
    Aug 19, 2014
    Posts:
    20
    Hi, I have a thread open over at the UI section of the forums but was directed here as it might be doable with a shader.

    Thanks in advance for any tips or clues you might be able to give me.

    The thread:
     
  2. MarsAttax

    MarsAttax

    Joined:
    Nov 22, 2014
    Posts:
    17
  3. Demozo

    Demozo

    Joined:
    Aug 19, 2014
    Posts:
    20
    I have yes, but that didn't give me the result I desire. As a Button element only has 8 vertices it looked really choppy.
    I'm not sure if adding more vertices would work, haven't attempted that yet.
     
  4. MarsAttax

    MarsAttax

    Joined:
    Nov 22, 2014
    Posts:
    17
    I don't see how you could have a button smoothly bended with only 8 vertices.
     
  5. Demozo

    Demozo

    Joined:
    Aug 19, 2014
    Posts:
    20
    Which is why I wanted to do it with a shader that warps the camera view or something along those lines.
    Anyway, I'm at home now so I'll see if using more vertices would work.