Limited light sources to 32 instead of 128.

This commit is contained in:
Faerbit 2014-12-15 01:16:43 +01:00
parent 226292430f
commit 202323f054

View File

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