Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Animating the diffuse channel seperately of the alpha

Discussion in 'Scripting' started by MartinVM, Jun 29, 2007.

  1. MartinVM


    Jan 15, 2007
    Is it possible through scripting to animate the texture coordinates while keeping the alpha channel uv's static? And how would one go about doing such if possible ?
  2. Aras


    Unity Technologies

    Nov 7, 2005
    In the built-in shaders, the diffuse and alpha are in the same texture, so it's not possible to both animate and not animate a single texture.

    So you'd have to use a custom shader for two separate textures for color and alpha, and then animate one. Something like this shader.