Screenshot and info on parallax mapping example

This commit is contained in:
saschawillems 2015-11-23 23:12:49 +01:00
parent dca252098d
commit 8b31f60038
2 changed files with 5 additions and 0 deletions

View file

@ -80,6 +80,11 @@ Renders hundreds of meshes using instances with uniforms for e.g. coloring each
Uses a matcap texture (spherical reflection map) to fake complex lighting. It's based on [this article](https://github.com/spite/spherical-environment-mapping). Uses a matcap texture (spherical reflection map) to fake complex lighting. It's based on [this article](https://github.com/spite/spherical-environment-mapping).
### Parallax mapping
<img src="./screenshots/parallax_mapping.jpg" height="128px">
Like normal mapping, parallax mapping simulates geometry on a flat surface. In addition to normal mapping a heightmap is used to offset texture coordinates depending on the viewing angle giving the illusion of added depth.
### (Tessellation shader) PN-Triangles ### (Tessellation shader) PN-Triangles
<img src="./screenshots/tess_pntriangles.jpg" height="128px"> <img src="./screenshots/tess_pntriangles.jpg" height="128px">

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB