1
0
Fork 0

Bug fixes and add Label

This commit is contained in:
MrDev023 2017-01-20 22:34:01 +01:00
parent 60f16efe7f
commit 8272b153ff
12 changed files with 481 additions and 463 deletions

View file

@ -6,9 +6,11 @@ uniform vec4 color;
in vec2 fragTexCoord;
in vec3 fragVert;
out vec4 finalColor;
//layout(location = 0) out vec4 finalColor;
// https://learnopengl.com/#!Lighting/Multiple-lights pour le lighing en cas de besoin
void main() {
gl_FragData[0] = texture(materialTex, fragTexCoord) * color;
finalColor = texture(materialTex, fragTexCoord) * color;
}