Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are more texture mapping approaches which can be added on top of normal mapping to make the illusion even better, such as parallax [1] or displacement [2] mapping.

[1] https://en.wikipedia.org/wiki/Parallax_mapping

[2] https://en.wikipedia.org/wiki/Displacement_mapping



Displacement mapping actually changes the mesh though, so its no longer a simple mapping that can be implemented in the pixel-shader step alone.

------

IMO, its important to understand the limitations of pixel shading, because its an important step in the modern graphics pipeline.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: