specular highlights (blinn-phong)

This commit is contained in:
2024-08-19 00:05:53 +10:00
parent 94ed59055a
commit 5a7b53833d
4 changed files with 23 additions and 8 deletions

View File

@ -37,7 +37,9 @@ typedef NS_ENUM(NSInteger, FragmentShaderInputIdx) {
};
typedef struct {
vector_float3 directionalLight;
vector_float3 cameraPosition, directionalLight;
vector_float4 specularColor;
float specularIntensity;
} FragmentShaderUniforms;
#endif//SHADERTYPES_H