Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Shader graph - UV problem with flow map

Discussion in 'Graphics Experimental Previews' started by eric_delappe, Jul 23, 2018.

  1. eric_delappe

    eric_delappe

    Joined:
    Dec 10, 2015
    Posts:
    26
    I'm trying to recreate a flow map shader that I had previously made in Shader Forge. Though the two graphs are logically identical, the results are different. In shader graph, the UVs are being offset in both the X and Y directions. Does anyone know what might be causing this discrepancy?

    Shader Forge (correct results) - tested in Unity 2017.4





    Shader graph (incorrect results) - tested in Unity 2018.2 (LWRP)



     
  2. VeganApps

    VeganApps

    Joined:
    Jun 30, 2006
    Posts:
    263
    Switch from linear to gamma color space or simply disable sRGB (Color Texture) in the texture import settings. And your remap should be from 0, 1 to -0.5, 0.5..
     
    Last edited: Mar 3, 2019
    RogDolos likes this.