Search Unity

Combine alpha of GUI skin with icon texture

Discussion in 'Immediate Mode GUI (IMGUI)' started by jan-bajana, Nov 14, 2014.

  1. jan-bajana

    jan-bajana

    Joined:
    Nov 14, 2013
    Posts:
    8
    Hello, can anybody help me with my problem?

    I would like make some GUI button behavior. It is combine alpha channel of GIUStyle background texture with foreground GUI.Button() texture. This behavior is typical in many platforms but I can't use it in Unity. For example I would like to show rounded corners in foreground texture but use data from Style background texture. It is because of 9-slice techniques. You can see it on uploaded image what I need. Than you so much.
     

    Attached Files:

  2. jan-bajana

    jan-bajana

    Joined:
    Nov 14, 2013
    Posts:
    8
    Nobody from Unity can't answer me my question please? How could I make this GUI behavior? Thank you. Or should I make self shader and implement it by self if Unity GUI system does't have it? Than you.