Search Unity

Question Tile operation of uv wrong on some mobile device.

Discussion in 'Shader Graph' started by wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0, Dec 23, 2019.

  1. wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    Joined:
    Nov 26, 2019
    Posts:
    3
    Hi I try to use the shader graph create a tile uv material, the graph is very simple like this .
    upload_2019-12-23_18-9-36.png
    when I build a package for android, on my phone Mi8, the texture sampler or filter have a wrong effect like this.
    upload_2019-12-23_18-9-50.png
    I try several method to do the tile such as create my own node chain for tile or the custom node with code, the result is same wrong.
    Only correct way is to write this shader by direct hlsl code without shader graph.
    I think this is a compatible problem. I try the shader graph on a Huawei phone, No this problem, but If a use a rotate node for the uv , it have the same problem like this both on huawei and xiaomi.
     
  2. neoshaman

    neoshaman

    Joined:
    Feb 11, 2011
    Posts:
    6,493
    What's the GPU of these phone, 16bits fragments precision will do that.