We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c3b1fa commit 728ccc9Copy full SHA for 728ccc9
examples/shaders/resources/shaders/glsl330/base.fs
@@ -20,6 +20,9 @@ void main()
20
21
// NOTE: Implement here your fragment shader code
22
23
- finalColor = texelColor*colDiffuse;
+ // final color is the color from the texture
24
+ // times the tint color (colDiffuse)
25
+ // times the fragment color (interpolated vertex color)
26
+ finalColor = texelColor*colDiffuse*fragColor;
27
}
28
0 commit comments