Updated description and screenshot for instancing example

This commit is contained in:
saschawillems 2016-04-17 12:44:31 +02:00
parent 8e2115a0d4
commit 0463d5b1e3
3 changed files with 2 additions and 2 deletions

View file

@ -97,9 +97,9 @@ Uses [assimp](https://github.com/assimp/assimp) to load and a mesh from a common
<br><br>
## [Mesh instancing](instancing/)
<img src="./screenshots/instancing.png" height="96px" align="right">
<img src="./screenshots/instancing.jpg" height="96px" align="right">
Shows the use of instancing for rendering the same mesh with differing uniforms with one single draw command. This saves performance if the same mesh has to be rendered multiple times.
Shows the use of instancing for rendering many copies of the same mesh using different attributes and textures. A secondary uniform buffer containing instanced data, stored in device local memory, is used to pass instance data to the shader via vertex attributes with a per-instance step rate. The instance data also contains a texture layer index for having different textures for the instanced meshes.
<br><br>
## [Multi sampling](multisampling/)

BIN
screenshots/instancing.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 KiB