diff --git a/README.md b/README.md index 99bb4d97..eb785960 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ Once all threads have finished (and all secondary command buffers have been cons

## [Particle system](particlefire/) - + Point sprite based particle system simulating a fire. Particles and their attributes are stored in a host visible vertex buffer that's updated on the CPU on each frame. Also makes use of pre-multiplied alpha for rendering particles with different blending modes (smoke and fire) in one single pass. @@ -238,9 +238,9 @@ Demonstrates the use of a separate compute queue (and command buffer) to apply d

## [(Geometry shader) Normal debugging](geometryshader/) - + -Renders the vertex normals of a complex mesh with the use of a geometry shader. The mesh is rendered solid first and the a geometry shader that generates lines from the face normals is used in the second pass. +Uses a geometry shader to generate per-vertex normals that could be used for debugging. The first pass displays the solid mesh using basic phong shading and then does a second pass with the geometry shader that generates normals for each vertex of the mesh.

## [(Extension) VK_EXT_debug_marker](debugmarker/) diff --git a/screenshots/basic_mesh.png b/screenshots/basic_mesh.png index 44e4cf3a..a4b59110 100644 Binary files a/screenshots/basic_mesh.png and b/screenshots/basic_mesh.png differ diff --git a/screenshots/geom_normals.jpg b/screenshots/geom_normals.jpg new file mode 100644 index 00000000..4d79d39b Binary files /dev/null and b/screenshots/geom_normals.jpg differ diff --git a/screenshots/geom_normals.png b/screenshots/geom_normals.png deleted file mode 100644 index a50290bd..00000000 Binary files a/screenshots/geom_normals.png and /dev/null differ diff --git a/screenshots/instancing.jpg b/screenshots/instancing.jpg index 87b8b3c9..ea7031f6 100644 Binary files a/screenshots/instancing.jpg and b/screenshots/instancing.jpg differ diff --git a/screenshots/multisampling.png b/screenshots/multisampling.png index f1ce28b9..db90ff49 100644 Binary files a/screenshots/multisampling.png and b/screenshots/multisampling.png differ diff --git a/screenshots/parallax_mapping.jpg b/screenshots/parallax_mapping.jpg index aa934162..04aa2340 100644 Binary files a/screenshots/parallax_mapping.jpg and b/screenshots/parallax_mapping.jpg differ diff --git a/screenshots/particlefire.jpg b/screenshots/particlefire.jpg new file mode 100644 index 00000000..bc46586c Binary files /dev/null and b/screenshots/particlefire.jpg differ diff --git a/screenshots/particlefire.png b/screenshots/particlefire.png deleted file mode 100644 index 1eb2467a..00000000 Binary files a/screenshots/particlefire.png and /dev/null differ diff --git a/screenshots/push_constants.png b/screenshots/push_constants.png index 43aad916..28604d5a 100644 Binary files a/screenshots/push_constants.png and b/screenshots/push_constants.png differ