Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    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:
    20
    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. Jokerminator

    Jokerminator

    Joined:
    Jun 30, 2006
    Posts:
    258
    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.