opengl.shaders: Allow up to 50 lights in fragment shaders.
This commit is contained in:
@@ -19,7 +19,7 @@ uniform vec3 camera_Site;
|
||||
uniform vec3 specular_Color; // The materials specular color.
|
||||
|
||||
uniform int light_Count;
|
||||
uniform light Lights [10];
|
||||
uniform light Lights [50];
|
||||
|
||||
|
||||
in vec3 frag_Site;
|
||||
|
||||
Reference in New Issue
Block a user