Sign in
ara-mdk
/
people
/
jessebarker
/
glmark2
/
4e668272c2dac465afce05c3c057c7f9493a5e6c
/
.
/
data
/
shaders
/
gradient.frag
blob: e93bf00afce652366c17976ee678374fedecdb54 [
file
] [
log
] [
blame
]
uniform vec3 color1
;
uniform vec3 color2
;
varying vec2 uv
;
void
main
()
{
vec3 color
=
mix
(
color1
,
color2
,
uv
.
x
*
uv
.
y
);
gl_FragColor
=
vec4
(
color
,
1.0
);
}