Search Unity

Discussion Unity has no good way of animation textures?

Discussion in 'Animation' started by crowmaster, Jul 6, 2022.

  1. crowmaster

    crowmaster

    Joined:
    Jul 6, 2012
    Posts:
    80
    I mean animating texture as frame sequence for effect like fire or water etc.
    I see three possible ways, each is not very convenient
    1) Use flipbook. Cons: Prevents using other uv modifiers like rotation, panning etc.
    2) Add custom component to every mesh. Cons: Requires much work, prone to breaking, inflexible.
    3) Create a custom script which tracks all materials with animated properties and changes their textures, so all meshes using sharedMaterial will change automatically. Cons: possibly cpu expensive, untested, requires extra setup.

    Any better solutions?