separate tests, sponza
This commit is contained in:
1 parent
3800daafab
commit
e5cbc4ca5f
8 files changed
+128866
-7
No files matched your search
@@ -54,7 +54,7 @@ void main()
|
||||
float NdotL = max(dot(normal, light), 0.0);
|
||||
// lightDot += lights[i].color.rgb * light * NdotL;
|
||||
// lightDot += lights[i].color.rgb * power * NdotL;
|
||||
lightDot += lights[i].color.rgb * power * lights[i].power;
|
||||
lightDot += lights[i].color.rgb * power * lights[i].power * NdotL;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user