Ajout de Jolt Physics + 1ere version des factory entitecomposants - camera, transform, rigidbody, collider, renderer
This commit is contained in:
13
lib/All/JoltPhysics/Assets/Shaders/MTL/VertexConstants.h
Normal file
13
lib/All/JoltPhysics/Assets/Shaders/MTL/VertexConstants.h
Normal file
@@ -0,0 +1,13 @@
|
||||
struct VertexShaderConstantBuffer
|
||||
{
|
||||
float4x4 View; // view matrix
|
||||
float4x4 Projection; // projection matrix
|
||||
float4x4 LightView; // view matrix of the light
|
||||
float4x4 LightProjection; // projection matrix of the light
|
||||
};
|
||||
|
||||
struct PixelShaderConstantBuffer
|
||||
{
|
||||
float3 CameraPos;
|
||||
float3 LightPos;
|
||||
};
|
||||
Reference in New Issue
Block a user