Limited light sources to 32 instead of 128.

This commit is contained in:
Faerbit 2014-12-15 01:16:43 +01:00
parent b2241a671e
commit ed347725e6

View File

@ -23,9 +23,9 @@ uniform int lightCount;
uniform vec3 directionalLightVector;
uniform vec3 directionalColor;
uniform float directionalIntensity;
uniform vec3 lightSources[128];
uniform vec3 lightColors[128];
uniform float lightIntensities[128];
uniform vec3 lightSources[32];
uniform vec3 lightColors[32];
uniform float lightIntensities[32];
uniform float fogEnd;
uniform vec4 fogColor;
uniform vec3 cameraCenter;