Search Unity

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.