ambient & diffuse colours

This commit is contained in:
2024-08-19 00:24:01 +10:00
parent 5a7b53833d
commit 83972502bb
3 changed files with 16 additions and 6 deletions

View File

@ -38,7 +38,7 @@ typedef NS_ENUM(NSInteger, FragmentShaderInputIdx) {
typedef struct {
vector_float3 cameraPosition, directionalLight;
vector_float4 specularColor;
vector_float4 ambientColor, diffuseColor, specularColor;
float specularIntensity;
} FragmentShaderUniforms;