Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

sampler method of detial map in Lit Shader of HDRP

Discussion in 'High Definition Render Pipeline' started by sevelee, Jul 28, 2019.

  1. sevelee

    sevelee

    Joined:
    Apr 5, 2017
    Posts:
    25
    Hi! I am making a custom shader graph with detail map funciton.
    But I find out that the sample result of same detial map texture is different in my shader and HDRP lit.
    Fro example, in picture 1, I set albedo scale to 1, normal scale to 0, smoothness scale to 0.
    Left is the result of my shader and left is the result of HDRP lit shader.
    I think is something with mipmap and sample method of detail map as if I disable the mipmap of texture the two result will be same like picture 2.
    The import property of texture is in picture 3.
    Anyone knows why?
     

    Attached Files: