Nathcat / Nathcats-Game-Engine

0 stars 0 forks source link

Implementation of Mesh handling and by proxy DirectX `RenderFrame()` function. #5

Open Nathcat opened 2 years ago

Nathcat commented 2 years ago

As mentioned in the DirectX rendering issue, for this task to be completed, we will need to implement matrix transformations.

Nathcat commented 2 years ago

In order to implement the matrix transformations, a Camera component class is required, for the projection and view matrices. And a method to create a model transform matrix is required in the Transform component.

Nathcat commented 2 years ago

Just realised that I've been a bit of a muppet, the material constants buffer is currently using the Shader input description to define its constants, this is incorrect, they are separate, the Shader input description defines the vertex shader input, not the constant buffer inputs. There will need to be a separate method to create a input description for the material buffer.