VertexConstants.h 311 B

12345678910111213
  1. struct VertexShaderConstantBuffer
  2. {
  3. float4x4 View; // view matrix
  4. float4x4 Projection; // projection matrix
  5. float4x4 LightView; // view matrix of the light
  6. float4x4 LightProjection; // projection matrix of the light
  7. };
  8. struct PixelShaderConstantBuffer
  9. {
  10. float3 CameraPos;
  11. float3 LightPos;
  12. };