separate tests, sponza
This commit is contained in:
BIN
assets/models/sponza.glb
Normal file
BIN
assets/models/sponza.glb
Normal file
Binary file not shown.
128621
assets/models/sponza.obj
Normal file
128621
assets/models/sponza.obj
Normal file
File diff suppressed because it is too large
Load Diff
@ -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