Skip to content

refactor: use the new static mesh system in the render system #270

@iMeaNz

Description

@iMeaNz

Objective

For now the render system retrieves all the entities with a RenderableComponent, then gets cast the material inside it and call the draw function of the shape.
We should generalize that and have one function to render meshes, and general MaterialComponent

Acceptance Criteria

  • 1. Use the StaticMeshComponent and MaterialComponent in the render system instead of Renderable
  • 2. Make sure all the primitives and the models works properly

Dependencies

No response

Technical Details

No response

Type

Engine

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions