Search Unity

Question POM + PDO setup ?

Discussion in 'Shader Graph' started by Adrien_Triangles, Feb 7, 2020.

  1. Adrien_Triangles

    Adrien_Triangles

    Joined:
    Feb 4, 2016
    Posts:
    35
    Hi !
    Has anyone examples or even better a setup to share for POM + PDO materials ?
    I discovered this in Unreal and really would like to use it too in Unity :)

    Here is what it does, resources taken from UE4 :

    upload_2020-2-7_15-13-11.png

    upload_2020-2-7_15-7-11.png

    So this is POM, no tesselation/displacement, but uses this additional 'Pixel Depth Offset' to gain this silhouette you would not have with just Parallax Occlusion Mapping

    Thanks !
     
  2. Elizabeth_LeGros

    Elizabeth_LeGros

    Unity Technologies

    Joined:
    Jan 7, 2020
    Posts:
    50
    Hello!
    Depth offset is already a checkbox on the HDRP material and lit master node, so you should be able to just check that and get the behavior you are looking for
     
  3. Adrien_Triangles

    Adrien_Triangles

    Joined:
    Feb 4, 2016
    Posts:
    35
    Great thank you!
    Is there a node /setup of nodes in the shader graph for it?
     
  4. Adrien_Triangles

    Adrien_Triangles

    Joined:
    Feb 4, 2016
    Posts:
    35
    I would also be on the look for a setup about heightmap shadows from a Vector 3 ?
    Like in this setup from UE4 it is not the best but here is another screenshot of what it could do :
    upload_2020-2-13_18-23-45.png
    upload_2020-2-13_18-24-10.png

    And a clearer screenshot with a better material to showcase it from internet find :