Height map creation

the link seems ok to me Parallax Occlusion Mapping with OpenGL and GLSL, C++

Basically you need a normal map which stores in alpha the “height” use for the parallax effect.