|
Kohi Game Engine
|
#include <terrain.h>
Data Fields | |
| vec3 | position |
| The position of the vertex. More... | |
| vec3 | normal |
| The normal of the vertex. More... | |
| vec2 | texcoord |
| The texture coordinate of the vertex. More... | |
| vec4 | colour |
| The colour of the vertex. More... | |
| vec4 | tangent |
| The tangent of the vertex. More... | |
| f32 | material_weights [TERRAIN_MAX_MATERIAL_COUNT] |
| A collection of material weights for this vertex. More... | |
| vec4 colour |
The colour of the vertex.
| f32 material_weights[TERRAIN_MAX_MATERIAL_COUNT] |
A collection of material weights for this vertex.
| vec3 normal |
The normal of the vertex.
| vec3 position |
The position of the vertex.
| vec4 tangent |
The tangent of the vertex.
| vec2 texcoord |
The texture coordinate of the vertex.