Sign in
chromium
/
native_client
/
nacl_vs_addin
/
f667cb8ca61de1c745344b96eb28801186859cd7
/
.
/
InstallerResources
/
examples
/
hello_world_gles
/
hello_world_gles
/
fragment_shader_es2.frag
blob: 247c559f8c8d3f514bd82050a9f4b1d0d2a6ad7f [
file
] [
log
] [
blame
]
precision mediump
float
;
varying vec3 v_color
;
varying vec2 v_texCoord
;
uniform sampler2D s_texture
;
void
main
()
{
gl_FragColor
=
texture2D
(
s_texture
,
vec2
(
v_texCoord
.
x
,
1.0
-
v_texCoord
.
y
)
)
+
vec4
(
v_color
.
x
,
v_color
.
y
,
v_color
.
z
,
1
);
}