Search Unity

Panning texture?

Discussion in 'Shaders' started by mattimus, May 23, 2008.

  1. mattimus

    mattimus

    Joined:
    Mar 8, 2008
    Posts:
    576
    I can't find any information in the documentation relevant to making a panning texture for something like a waterfall, conveyor belt, lava flow, etc. Does Unity have something that allows for animating textures or UVs that I'm just not seeing?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Yep, look up Material.mainTextureOffset in the docs.

    --Eric
     
  3. mattimus

    mattimus

    Joined:
    Mar 8, 2008
    Posts:
    576
    I shall investigate that thoroughly. Thanks for the info.