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

Resolved 2017.3.1f1 forces Clamp setting on textures?

Discussion in 'General Graphics' started by DimitriX89, May 23, 2021.

  1. DimitriX89

    DimitriX89

    Joined:
    Jun 3, 2015
    Posts:
    551
    Hello all. I've developed a simple texture scrolling effect in some other version (it was a while ago), and when I've imported it into 2017, it appeared broken. Looks like Unity treats this texture's Wrap mode as Clamp instead of Repeat, regardless of input settings.


    The code that moves the texture is in the Surface shader; it adds a value of the parameter to uv.y (the parameter itself is controlled by Animator clip)
     
    Last edited: May 23, 2021
  2. DimitriX89

    DimitriX89

    Joined:
    Jun 3, 2015
    Posts:
    551
    All textures in any material seem to be clamped.

    Can it be related to project being 2d?
     
  3. DimitriX89

    DimitriX89

    Joined:
    Jun 3, 2015
    Posts:
    551