Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Anisotropy with Lit Shader - Tangent map not working

Discussion in 'Graphics Experimental Previews' started by dpotuznik, Nov 12, 2018.

  1. dpotuznik

    dpotuznik

    Joined:
    Jan 18, 2018
    Posts:
    17
    Hi ,

    i try to achieve an anisotropic shader like on the bottom right of the image ( preview of the shader)

    if y look on the preview it's workfine but when i look on the game view is broken.
    i try to change the Anisotropy -> "Tangent Map" he do nothing on scene and game view but work well on preview.

    i am missing something ? i need to activate the anisotropic shader somewhere ?
    i use (unity 2018.2.15f1)

    thank you very much for your help
    Best regards
    Daniel

    bug_unity.JPG

    here the map if someone want to test.

    AnisoDirection2.jpg
     
    Last edited: Nov 12, 2018
  2. dpotuznik

    dpotuznik

    Joined:
    Jan 18, 2018
    Posts:
    17
  3. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    932
    Hi,

    The artifact you see are due to the compression in the GBuffer, currently we haven't better compression algorithm for the number of bit use, if you want no compression you need to move to forward.
     
  4. Josh-0

    Josh-0

    Joined:
    Oct 12, 2011
    Posts:
    29
    I've been trying to get this to work as well, but I'm not sure about a couple of things. I downloaded an update to the render pipeline through the package manager, and now it seems to be working. Before, it wasn't working at all. But, I'm not entirely sure how the tangents maps work. It seems to only want green and red channels. Is there documentation somewhere that better explains tangent maps for the lit shader? I'm trying to use it for hair to get that Overwatch look.
     
    Last edited: Nov 17, 2018
  5. Dr-Game

    Dr-Game

    Joined:
    Mar 12, 2015
    Posts:
    161
    HI~How can I make a Vertical AnisoDir map?? I want to use for hair