Bug fixes and add Label
This commit is contained in:
parent
60f16efe7f
commit
8272b153ff
12 changed files with 481 additions and 463 deletions
|
@ -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;
|
||||
}
|
Reference in a new issue