ParallaxMappingMethod

Occlusion

Relief

  • max_steps : u32

Description

The parallax mapping method to use to compute depth based on the material's depth_map.

Parallax Mapping uses a depth map texture to give the illusion of depth variation on a mesh surface that is geometrically flat.

See the parallax_mapping.wgsl shader code for implementation details and explanation of the methods used.

Functions