initial lighting

This commit is contained in:
2024-08-18 01:10:25 +10:00
parent 55d47a2d2f
commit f7255c473c
3 changed files with 26 additions and 10 deletions

View File

@ -24,11 +24,13 @@ typedef struct {
typedef struct {
matrix_float4x4 model;
matrix_float4x4 normalModel;
vector_uchar4 color;
} ShaderInstance;
typedef struct {
matrix_float4x4 projView;
vector_float3 directionalLight;
} ShaderUniforms;
#endif//SHADERTYPES_H