Bind texture units using GpuMaterial

This commit is contained in:
2022-10-21 15:33:46 +02:00
parent 0c18186f63
commit e9dec68cb1
35 changed files with 101 additions and 1171 deletions

View File

@@ -69,7 +69,6 @@ void main()
fragmentColor += pointLightContribution(u_pointLight[i], normal, v_fragmentPosition, viewDir);
}
fragmentColor = vec3(1.,1.,1.);
f_color = vec4(fragmentColor, 1.0f);
}