|
|
@ -20,6 +20,9 @@ void main() |
|
|
|
|
|
|
|
// NOTE: Implement here your fragment shader code |
|
|
|
|
|
|
|
finalColor = texelColor*colDiffuse; |
|
|
|
// final color is the color from the texture |
|
|
|
// times the tint color (colDiffuse) |
|
|
|
// times the fragment color (interpolated vertex color) |
|
|
|
finalColor = texelColor*colDiffuse*fragColor; |
|
|
|
} |
|
|
|
|