Screenshot and info on parallax mapping example
This commit is contained in:
parent
dca252098d
commit
8b31f60038
2 changed files with 5 additions and 0 deletions
|
|
@ -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">
|
||||||
|
|
||||||
|
|
|
||||||
BIN
screenshots/parallax_mapping.jpg
Normal file
BIN
screenshots/parallax_mapping.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 286 KiB |
Loading…
Add table
Add a link
Reference in a new issue