Advanced Parallax Mapping

Contact Refinement Parallax Mapping showcased in Unity 2018

CRPM Shader Showcase

This post showcases a new Parallax Mapping technique I developed, called Contact Refinement Parallax Mapping. The basic concept behind this new technique is to find an approximate intersection point using the Steep Parallax Mapping technique, roll back the loop to the iteration before the intersection point, and loop again with the same amount of steps used in the previous loop, this time covering only 1 / StepNumber distance on the ray. You can get a better in-depth explanation of the technique on my artstation blog: https://www.artstation.com/andreariccardi/blog/3VPo/a-new-approach-for-parallax-mapping-presenting-the-contact-refinement-parallax-mapping-technique