So basically when I do heavily tiled detail mapping on a surface that is using Offset Bump Mapping or Parallax Occlusion Mapping, as I orbit around the surface the detail maps appear to swim across the surface.
Conditions
- Both the base and detail maps use UV0.
- The base maps are tiled 1x with no offset.
- The detail maps are tiled 10x with no offset.
- The parallax offset is generated from a heightmap tied to the base maps texture coordinates.
- I apply the parallax offset like so: (UV0 * Tile + Offset) + parallaxOffset.
Questions
- Is there any way to counteract this problem?
- Do I need to modify the parallaxOffset somehow before I apply it to the transformed detail texture coordinates?
- Are Detail mapping and Parallax just inherently incompatible?
Thanks.