Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 531 Bytes

File metadata and controls

19 lines (14 loc) · 531 Bytes

System that loads 3D models for Entities with a GraphicsComponent using the assimp library.

Shader

The AssImpSystem automatically creates an AssImpShader which is able to render the models it loads.

Vertex format

struct Vertex {
	float position[3];
	float normal[3];
	float texCoords[2];
	float boneWeights[KENGINE_ASSIMP_BONE_INFO_PER_VERTEX];
	unsigned int boneIDs[KENGINE_ASSIMP_BONE_INFO_PER_VERTEX];
};