Recreate the interactive depth portrait effect popularized by modern portfolio websites using Three.js and WebGL.
This is the English documentation entry point for the Three.js Depth Portrait project.
The goal of this guide is to help you recreate the interactive pseudo-3D portrait effect from a single image, using texture maps, Three.js, React Three Fiber, custom GLSL shaders and real-time input.
This first version is intentionally practical. It explains the role of each part, shows how the pieces connect and gives you a path to copy the structure into your own project. It does not try to document every line of code.
If you want the fastest route, follow the guide in order and use each chapter as a build checkpoint.
If you want more context, read each chapter slowly and compare the explanation with the source files in the repository. The deeper theory and internals sections will be added later.
By the end of the guide, you should have:
Hero3D component that can be placed inside a page.public/.The documentation is starting in English. Future translations will follow this directory pattern:
docs/en/
docs/pt-br/
docs/it/
The quick guide comes first. Later, this documentation can grow into separate theory and internals areas for deeper explanations about texture maps, shader architecture, input systems and rendering decisions.