Fix bug in Pointlight loading

This commit is contained in:
2021-01-19 19:14:43 +01:00
parent e4ed192088
commit 194ae3abf4
6 changed files with 6 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ struct PointLight {
vec3 diffuse;
vec3 specular;
};
#define NUM_POINT_LIGHTS 16
#define NUM_POINT_LIGHTS 1
uniform PointLight u_pointLight[NUM_POINT_LIGHTS];
/*struct SpotLight {