Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Simple Diffuse shader with 2 textures.

Discussion in 'iOS and tvOS' started by trzmiel, Feb 3, 2014.

  1. trzmiel

    trzmiel

    Joined:
    Nov 5, 2013
    Posts:
    28
    I need diffuse shader which uses 2 textures:
    1) rgb texture
    2) rgba texture
    Simple overlay texture 2 on texture 1 based on alpha.
    Diffuse and receive shadows.

    I will be very gratefull for such shader code which will be fast enough for IPhone. Thank you in advance.