mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 05:10:57 +00:00
initial lighting
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user