stuff
This commit is contained in:
parent
dc5654ba9a
commit
3ffed086b1
7 changed files with 54 additions and 9 deletions
BIN
assets/DefaultTexture.jpg
(Stored with Git LFS)
BIN
assets/DefaultTexture.jpg
(Stored with Git LFS)
Binary file not shown.
|
|
@ -90,9 +90,8 @@ void main()
|
|||
vec3 viewDir = normalize(viewPos - FragPos);
|
||||
|
||||
vec3 albedo = calcTextures();
|
||||
albedo = vec3(1,1,1);
|
||||
|
||||
//result += calcDirectLight(dirLight, norm, viewDir, albedo);
|
||||
result += calcDirectLight(dirLight, norm, viewDir, albedo);
|
||||
|
||||
for(int i = 0; i < numberOfPointLights; i++){
|
||||
if (pointLights[i].disabled) continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue