Corrected usage flag for instancing buffer

This commit is contained in:
saschawillems 2016-04-17 13:51:16 +02:00
parent 0463d5b1e3
commit 6d54900c4d
2 changed files with 6 additions and 3 deletions

View file

@ -99,7 +99,7 @@ Uses [assimp](https://github.com/assimp/assimp) to load and a mesh from a common
## [Mesh instancing](instancing/)
<img src="./screenshots/instancing.jpg" height="96px" align="right">
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.
Shows the use of instancing for rendering many copies of the same mesh using different attributes and textures. A secondary vertex 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/)