Search Unity

Question [6.9.1, 2019.2.0f1] Something wrong with normals or normal sampling node on different platforms?

Discussion in 'Shader Graph' started by n-gist, Aug 3, 2019.

  1. n-gist

    n-gist

    Joined:
    Mar 7, 2016
    Posts:
    41
    Hey. I created simplest graph with tangent space normal map for skinned mesh. Here is what it looks like for Windows platform (white shorts). Other clothes use more sophisticated graph so i created really simple one for testing and it looks as it should be:
    Screenshot_1.png

    But if i switch platform in buld settings to iOS or Android, it looks like this (mesh and uv seams become visible and overall shading is different):
    Screenshot_2.png

    But, if now i switch space in sampler node from Tangent to Object, it looks ok again:
    Screenshot_3.png

    If then i go back to Windows platform, It needs to be switched back to Tangent. If I use non-graph LWRP Lit shader, everything is ok. Should this be fixed or I am missing something?
    Thanks!