Parallax Occlusion Mapping - showed & explained !!!!!

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • This technique is used to add more detail beyond normal map and without adding any extra geomtry
    You can add this effect simply by using height in standard material in Godot
    Here I tried to explain to you how this method works so you will have a better understanding of this method
    Brick texture download link:
    ambientcg.com/...

Комментарии • 18

  • @solitary200
    @solitary200 Год назад +10

    POM is a great technique, I think the truly important part with using it is properly blending it into your environment. At the edges the illusion begins to break down.

  • @Yensnor
    @Yensnor 5 месяцев назад

    Really nice video, thank you so much!

  • @SpartanJoe193
    @SpartanJoe193 6 месяцев назад

    Thanks, gonna add it to my game engine. 😊

  • @solitary200
    @solitary200 5 месяцев назад

    Would love to see a video on a custom shader for a POM Decal.
    I know Godot doesn't support POM for decals.

  • @solitary200
    @solitary200 Год назад +2

    Could you maybe make a video that has a shader that subdivides and displaces a mesh based on how close it is to an edge, and otherwise uses POM?
    That way we could have higher detail at the edge and the illusion of POM at the center of the mesh.

    • @mohsenzare2511
      @mohsenzare2511  Год назад +2

      As I understant you ask to have a kind of tesselation shader on mesh, unfortunatly this feature is not supported by Godot, But in future of Godot 4 maybe this will be possibile with compute shader

    • @solitary200
      @solitary200 Год назад

      @@mohsenzare2511 ah thanks for clarifying! You should do a video on your background and how you learned all of these techniques too! Would be cool to understand your path and how it could apply to others as well.

    • @mohsenzare2511
      @mohsenzare2511  Год назад +1

      @@solitary200 Yeah why not
      Maybe in future I will do that

  • @fabioferreiradarosaantunes9788
    @fabioferreiradarosaantunes9788 5 месяцев назад +1

    Is it possible to do that with decals?
    I'm using Decal Machine in Blender and it is fantastic to add detail with decals with POM, but I can't find out how to do that in Godot.

    • @mohsenzare2511
      @mohsenzare2511  5 месяцев назад +1

      There is a decal node which you can use, But I don't think you can create a shader for that you can only assing some decal texture to it!

    • @fabioferreiradarosaantunes9788
      @fabioferreiradarosaantunes9788 5 месяцев назад

      @@mohsenzare2511 I've seen those! But there is no pom texture slot. I wonder how it could be implemented.

  • @shoopwhoop8115
    @shoopwhoop8115 Год назад +1

    Nice video, Mohsen! Do you have some code available to see how it's properly done in Godot? I get it conceptually, but not sure how to put it all together.

    • @mohsenzare2511
      @mohsenzare2511  Год назад +1

      Thanks
      just create this with standard material and convert that to shader material
      the shader code automatically will generated for you

    • @shoopwhoop8115
      @shoopwhoop8115 Год назад

      @@mohsenzare2511 Thank you! I'll give that a try.

    • @shoopwhoop8115
      @shoopwhoop8115 Год назад +2

      @@mohsenzare2511 Well, that was easy. I didn't know you could convert the material back to shader. Always something new to learn. Thanks again for the info!

    • @mohsenzare2511
      @mohsenzare2511  Год назад +2

      @@shoopwhoop8115 your welcome man

  • @KENISEG
    @KENISEG 6 месяцев назад

    что лучше по производительности?
    occlusion или классическая lowpoly 3d mesh ?