explosions make light now.
This commit is contained in:
parent
fc2d4c5028
commit
2d0608b205
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ void main()
|
||||||
vec3 color = materialColor;
|
vec3 color = materialColor;
|
||||||
color = max(vec3(0.0), min(vec3(1.0), color));
|
color = max(vec3(0.0), min(vec3(1.0), color));
|
||||||
|
|
||||||
//vec3 light = lightColor * max(dot(normal, lightDirection), 0.0);
|
vec3 light = lightColor * max(dot(normal, lightDirection), 0.0);
|
||||||
vec3 light = vec3(0.0);
|
//vec3 light = vec3(0.0);
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<explLightsNum; i++) {
|
for (i=0; i<explLightsNum; i++) {
|
||||||
|
|
Loading…
Reference in a new issue