Correct frag shader when using texture + color
This commit is contained in:
@ -9,5 +9,5 @@ uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, texCoord) * color;
|
||||
FragColor = mix(texture(texture1, texCoord), color, 0.5);
|
||||
}
|
Reference in New Issue
Block a user