wat
have you actually successfully done this or seen it done
because that would be amazing
I haven't figured it out yet how to do this, but I was told that's how you do it
Someone showed me an image where it rendered the effects of
32 lightsHowever, the shaders where updated massively since then, I don't know whether it's still possible
Just pasting this code for each more light doesn't do any difference, as the positions aren't put in the variables or something
uniform vec4 pointLightPos7;
uniform vec4 pointLightColor7;
uniform float pointLightRadius7;
lightDelta = worldPos.xyz - pointLightPos7.xyz;
lightDot = max(dot(-normalize(lightDelta), worldNormal), 0.0f);
ratio = 1.0f - (length(lightDelta) / pointLightRadius7);
ratio = ratio * ratio * ratio * 0.4f;
ratio = max(ratio, 0.0f);
pointLightTotal.xyz += ratio * lightDot * pointLightColor7.xyz;
The below part is inside a function to calculate the effects of it
Something else must be modified too so it actually uses those variables for more lights, and I don't know what it is