Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 779 Bytes

File metadata and controls

25 lines (16 loc) · 779 Bytes

SimpleMeshes

This is an example showing how the same mesh may be appended to several nodes, to be rendered multiple times. It also shows how additional vertex attributes are defined in a mesh.primitive - namely, attributes for the vertex normals.

Note: The additional vertex normal attribute in this example is not yet used by any technique. This may cause a warning to be printed during the validation. The normal attribute will be used in the AdvancedMaterial example.

Screenshot

screenshot

License Information

Public domain (CC0)

Data layout

The following image shows the data layout of this sample:

triangle