mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 20:29:58 +01:00
Cleanup Media Player
This commit is contained in:
@@ -12,7 +12,8 @@ uniform float brightness;
|
||||
void main()
|
||||
{
|
||||
vec4 texturecolor = texture(sourceTexture, vertexUV.xy);
|
||||
|
||||
vec3 transformedRGB = mix(vec3(0.62), texturecolor.rgb, contrast + 1.0) + brightness;
|
||||
FragColor = vec4(color, 1.0) * vec4(transformedRGB, texturecolor.a);
|
||||
transformedRGB *= color;
|
||||
|
||||
FragColor = vec4(transformedRGB, texturecolor.a);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user